eric6/DebugClients/Python/coverage/doc/CHANGES.rst

changeset 7975
7d493839a8fc
parent 7427
362cd1b6f81a
equal deleted inserted replaced
7974:f425b578ede7 7975:7d493839a8fc
19 .. .. _changes_981: 19 .. .. _changes_981:
20 .. 20 ..
21 .. Version 9.8.1 --- 2027-07-27 21 .. Version 9.8.1 --- 2027-07-27
22 .. ---------------------------- 22 .. ----------------------------
23 23
24 .. _changes_531:
25
26 Version 5.3.1 --- 2020-12-19
27 ----------------------------
28
29 - When using ``--source`` on a large source tree, v5.x was slower than previous
30 versions. This performance regression is now fixed, closing `issue 1037`_.
31
32 - Mysterious SQLite errors can happen on PyPy, as reported in `issue 1010`_. An
33 immediate retry seems to fix the problem, although it is an unsatisfying
34 solution.
35
36 - The HTML report now saves the sort order in a more widely supported way,
37 fixing `issue 986`_. Thanks, Sebastián Ramírez (`pull request 1066`_).
38
39 - The HTML report pages now have a :ref:`Sleepy Snake <sleepy>` favicon.
40
41 - Wheels are now provided for manylinux2010, and for PyPy3 (pp36 and pp37).
42
43 - Continuous integration has moved from Travis and AppVeyor to GitHub Actions.
44
45 .. _issue 986: https://github.com/nedbat/coveragepy/issues/986
46 .. _issue 1037: https://github.com/nedbat/coveragepy/issues/1037
47 .. _issue 1010: https://github.com/nedbat/coveragepy/issues/1010
48 .. _pull request 1066: https://github.com/nedbat/coveragepy/pull/1066
49
50 .. _changes_53:
51
52 Version 5.3 --- 2020-09-13
53 --------------------------
54
55 - The ``source`` setting has always been interpreted as either a file path or a
56 module, depending on which existed. If both interpretations were valid, it
57 was assumed to be a file path. The new ``source_pkgs`` setting can be used
58 to name a package to disambiguate this case. Thanks, Thomas Grainger. Fixes
59 `issue 268`_.
60
61 - If a plugin was disabled due to an exception, we used to still try to record
62 its information, causing an exception, as reported in `issue 1011`_. This is
63 now fixed.
64
65 .. _issue 268: https://github.com/nedbat/coveragepy/issues/268
66 .. _issue 1011: https://github.com/nedbat/coveragepy/issues/1011
67
68
69 .. _changes_521:
70
71 Version 5.2.1 --- 2020-07-23
72 ----------------------------
73
74 - The dark mode HTML report still used light colors for the context listing,
75 making them unreadable (`issue 1009`_). This is now fixed.
76
77 - The time stamp on the HTML report now includes the time zone. Thanks, Xie
78 Yanbo (`pull request 960`_).
79
80 .. _pull request 960: https://github.com/nedbat/coveragepy/pull/960
81 .. _issue 1009: https://github.com/nedbat/coveragepy/issues/1009
82
83
84 .. _changes_52:
85
86 Version 5.2 --- 2020-07-05
87 --------------------------
88
89 - The HTML report has been redesigned by Vince Salvino. There is now a dark
90 mode, the code text is larger, and system sans serif fonts are used, in
91 addition to other small changes (`issue 858`_ and `pull request 931`_).
92
93 - The ``coverage report`` and ``coverage html`` commands now accept a
94 ``--precision`` option to control the number of decimal points displayed.
95 Thanks, Teake Nutma (`pull request 982`_).
96
97 - The ``coverage report`` and ``coverage html`` commands now accept a
98 ``--no-skip-covered`` option to negate ``--skip-covered``. Thanks, Anthony
99 Sottile (`issue 779`_ and `pull request 932`_).
100
101 - The ``--skip-empty`` option is now available for the XML report, closing
102 `issue 976`_.
103
104 - The ``coverage report`` command now accepts a ``--sort`` option to specify
105 how to sort the results. Thanks, Jerin Peter George (`pull request 1005`_).
106
107 - If coverage fails due to the coverage total not reaching the ``--fail-under``
108 value, it will now print a message making the condition clear. Thanks,
109 Naveen Yadav (`pull request 977`_).
110
111 - TOML configuration files with non-ASCII characters would cause errors on
112 Windows (`issue 990`_). This is now fixed.
113
114 - The output of ``--debug=trace`` now includes information about how the
115 ``--source`` option is being interpreted, and the module names being
116 considered.
117
118 .. _pull request 931: https://github.com/nedbat/coveragepy/pull/931
119 .. _pull request 932: https://github.com/nedbat/coveragepy/pull/932
120 .. _pull request 977: https://github.com/nedbat/coveragepy/pull/977
121 .. _pull request 982: https://github.com/nedbat/coveragepy/pull/982
122 .. _pull request 1005: https://github.com/nedbat/coveragepy/pull/1005
123 .. _issue 779: https://github.com/nedbat/coveragepy/issues/779
124 .. _issue 858: https://github.com/nedbat/coveragepy/issues/858
125 .. _issue 976: https://github.com/nedbat/coveragepy/issues/976
126 .. _issue 990: https://github.com/nedbat/coveragepy/issues/990
127
128
129 .. _changes_51:
130
131 Version 5.1 --- 2020-04-12
132 --------------------------
133
134 - The JSON report now includes counts of covered and missing branches. Thanks,
135 Salvatore Zagaria.
136
137 - On Python 3.8, try-finally-return reported wrong branch coverage with
138 decorated async functions (`issue 964`_). This is now fixed. Thanks, Kjell
139 Braden.
140
141 - The :meth:`~coverage.Coverage.get_option` and
142 :meth:`~coverage.Coverage.set_option` methods can now manipulate the
143 ``[paths]`` configuration setting. Thanks to Bernát Gábor for the fix for
144 `issue 967`_.
145
146 .. _issue 964: https://github.com/nedbat/coveragepy/issues/964
147 .. _issue 967: https://github.com/nedbat/coveragepy/issues/967
148
149
150 .. _changes_504:
151
152 Version 5.0.4 --- 2020-03-16
153 ----------------------------
154
155 - If using the ``[run] relative_files`` setting, the XML report will use
156 relative files in the ``<source>`` elements indicating the location of source
157 code. Closes `issue 948`_.
158
159 - The textual summary report could report missing lines with negative line
160 numbers on PyPy3 7.1 (`issue 943`_). This is now fixed.
161
162 - Windows wheels for Python 3.8 were incorrectly built, but are now fixed.
163 (`issue 949`_)
164
165 - Updated Python 3.9 support to 3.9a4.
166
167 - HTML reports couldn't be sorted if localStorage wasn't available. This is now
168 fixed: sorting works even though the sorting setting isn't retained. (`issue
169 944`_ and `pull request 945`_). Thanks, Abdeali Kothari.
170
171 .. _issue 943: https://github.com/nedbat/coveragepy/issues/943
172 .. _issue 944: https://github.com/nedbat/coveragepy/issues/944
173 .. _pull request 945: https://github.com/nedbat/coveragepy/pull/945
174 .. _issue 948: https://github.com/nedbat/coveragepy/issues/948
175 .. _issue 949: https://github.com/nedbat/coveragepy/issues/949
176
24 177
25 .. _changes_503: 178 .. _changes_503:
26 179
27 Version 5.0.3 --- 2020-01-12 180 Version 5.0.3 --- 2020-01-12
28 ---------------------------- 181 ----------------------------
461 - The sort order in the HTML report is stored in local storage rather than 614 - The sort order in the HTML report is stored in local storage rather than
462 cookies, closing `issue 611`_. Thanks, Federico Bond. 615 cookies, closing `issue 611`_. Thanks, Federico Bond.
463 616
464 - pickle2json, for converting v3 data files to v4 data files, has been removed. 617 - pickle2json, for converting v3 data files to v4 data files, has been removed.
465 618
466 .. _Bitbucket: https://bitbucket.org/ned/coveragepy 619 .. _Bitbucket: https://bitbucket.org
467 .. _GitHub: https://github.com/nedbat/coveragepy 620 .. _GitHub: https://github.com/nedbat/coveragepy
468 621
469 .. _issue 611: https://github.com/nedbat/coveragepy/issues/611 622 .. _issue 611: https://github.com/nedbat/coveragepy/issues/611
470 623
471 624
489 - Running coverage many times for small runs in a single process should be 642 - Running coverage many times for small runs in a single process should be
490 faster, closing `issue 625`_. Thanks, David MacIver. 643 faster, closing `issue 625`_. Thanks, David MacIver.
491 644
492 - Large HTML report pages load faster. Thanks, Pankaj Pandey. 645 - Large HTML report pages load faster. Thanks, Pankaj Pandey.
493 646
494 .. _issue 625: https://bitbucket.org/ned/coveragepy/issues/625/lstat-dominates-in-the-case-of-small 647 .. _issue 625: https://github.com/nedbat/coveragepy/issues/625
495 .. _issue 650: https://bitbucket.org/ned/coveragepy/issues/650/allow-setting-configuration-file-location 648 .. _issue 650: https://github.com/nedbat/coveragepy/issues/650
496 .. _issue 700: https://github.com/nedbat/coveragepy/issues/700 649 .. _issue 700: https://github.com/nedbat/coveragepy/issues/700
497 650
498 651
499 .. _changes_454: 652 .. _changes_454:
500 653
530 683
531 .. _issue 700: https://github.com/nedbat/coveragepy/issues/700 684 .. _issue 700: https://github.com/nedbat/coveragepy/issues/700
532 .. _issue 707: https://github.com/nedbat/coveragepy/issues/707 685 .. _issue 707: https://github.com/nedbat/coveragepy/issues/707
533 .. _issue 714: https://github.com/nedbat/coveragepy/issues/714 686 .. _issue 714: https://github.com/nedbat/coveragepy/issues/714
534 687
535 .. _Bitbucket: https://bitbucket.org/ned/coveragepy 688 .. _Bitbucket: https://bitbucket.org
536 .. _GitHub: https://github.com/nedbat/coveragepy 689 .. _GitHub: https://github.com/nedbat/coveragepy
537 690
538 691
539 .. _changes_451: 692 .. _changes_451:
540 693
550 docstring would crash coverage.py with an IndexError (`issue 640`_). This is 703 docstring would crash coverage.py with an IndexError (`issue 640`_). This is
551 now fixed. 704 now fixed.
552 705
553 - Configurer plugins are now reported in the output of ``--debug=sys``. 706 - Configurer plugins are now reported in the output of ``--debug=sys``.
554 707
555 .. _issue 638: https://bitbucket.org/ned/coveragepy/issues/638/run-omit-is-ignored-since-45 708 .. _issue 638: https://github.com/nedbat/coveragepy/issues/638
556 .. _issue 640: https://bitbucket.org/ned/coveragepy/issues/640/indexerror-reporting-on-an-empty-decorated 709 .. _issue 640: https://github.com/nedbat/coveragepy/issues/640
557 710
558 711
559 .. _changes_45: 712 .. _changes_45:
560 713
561 Version 4.5 --- 2018-02-03 714 Version 4.5 --- 2018-02-03
590 - On Windows, the HTML report could fail when source trees are deeply nested, 743 - On Windows, the HTML report could fail when source trees are deeply nested,
591 due to attempting to create HTML filenames longer than the 250-character 744 due to attempting to create HTML filenames longer than the 250-character
592 maximum. Now filenames will never get much larger than 200 characters, 745 maximum. Now filenames will never get much larger than 200 characters,
593 fixing `issue 627`_. Thanks to Alex Sandro for helping with the fix. 746 fixing `issue 627`_. Thanks to Alex Sandro for helping with the fix.
594 747
595 .. _issue 563: https://bitbucket.org/ned/coveragepy/issues/563/platform-specific-configuration 748 .. _issue 563: https://github.com/nedbat/coveragepy/issues/563
596 .. _issue 618: https://bitbucket.org/ned/coveragepy/issues/618/problem-when-combining-windows-generated 749 .. _issue 618: https://github.com/nedbat/coveragepy/issues/618
597 .. _issue 621: https://bitbucket.org/ned/coveragepy/issues/621/include-ignored-warning-when-using 750 .. _issue 621: https://github.com/nedbat/coveragepy/issues/621
598 .. _issue 622: https://bitbucket.org/ned/coveragepy/issues/622/report-omit-overwrites-run-omit 751 .. _issue 622: https://github.com/nedbat/coveragepy/issues/622
599 .. _issue 627: https://bitbucket.org/ned/coveragepy/issues/627/failure-generating-html-reports-when-the 752 .. _issue 627: https://github.com/nedbat/coveragepy/issues/627
600 .. _issue 629: https://bitbucket.org/ned/coveragepy/issues/629/multiple-use-of-combine-leads-to-empty 753 .. _issue 629: https://github.com/nedbat/coveragepy/issues/629
601 .. _issue 631: https://bitbucket.org/ned/coveragepy/issues/631/precise-coverage-percentage-value 754 .. _issue 631: https://github.com/nedbat/coveragepy/issues/631
602 755
603 756
604 .. _changes_442: 757 .. _changes_442:
605 758
606 Version 4.4.2 --- 2017-11-05 759 Version 4.4.2 --- 2017-11-05
628 `issue 588`_. 781 `issue 588`_.
629 782
630 - Be more flexible about the command name displayed by help, fixing 783 - Be more flexible about the command name displayed by help, fixing
631 `issue 600`_. Thanks, Ben Finney. 784 `issue 600`_. Thanks, Ben Finney.
632 785
633 .. _issue 101: https://bitbucket.org/ned/coveragepy/issues/101/settings-under-report-affect-running 786 .. _issue 101: https://github.com/nedbat/coveragepy/issues/101
634 .. _issue 581: https://bitbucket.org/ned/coveragepy/issues/581/race-condition-when-saving-data-under 787 .. _issue 581: https://github.com/nedbat/coveragepy/issues/581
635 .. _issue 588: https://bitbucket.org/ned/coveragepy/issues/588/using-rcfile-path-to-toxini-uses-run 788 .. _issue 588: https://github.com/nedbat/coveragepy/issues/588
636 .. _issue 589: https://bitbucket.org/ned/coveragepy/issues/589/allow-expansion-in-coveragerc 789 .. _issue 589: https://github.com/nedbat/coveragepy/issues/589
637 .. _issue 600: https://bitbucket.org/ned/coveragepy/issues/600/get-program-name-from-command-line-when 790 .. _issue 600: https://github.com/nedbat/coveragepy/issues/600
638 791
639 792
640 .. _changes_441: 793 .. _changes_441:
641 794
642 Version 4.4.1 --- 2017-05-14 795 Version 4.4.1 --- 2017-05-14
668 stdout. 821 stdout.
669 822
670 - Running ``coverage xml`` in a directory named with non-ASCII characters would 823 - Running ``coverage xml`` in a directory named with non-ASCII characters would
671 fail under Python 2. This is now fixed. (`issue 573`_) 824 fail under Python 2. This is now fixed. (`issue 573`_)
672 825
673 .. _issue 526: https://bitbucket.org/ned/coveragepy/issues/526/generated-xml-invalid-paths-for-cobertura 826 .. _issue 526: https://github.com/nedbat/coveragepy/issues/526
674 .. _issue 572: https://bitbucket.org/ned/coveragepy/issues/572/no-python-source-warning-for-namespace 827 .. _issue 572: https://github.com/nedbat/coveragepy/issues/572
675 .. _issue 573: https://bitbucket.org/ned/coveragepy/issues/573/cant-generate-xml-report-if-some-source 828 .. _issue 573: https://github.com/nedbat/coveragepy/issues/573
676 .. _issue 575: https://bitbucket.org/ned/coveragepy/issues/575/running-doctest-prevents-complete-coverage 829 .. _issue 575: https://github.com/nedbat/coveragepy/issues/575
677 830
678 831
679 Version 4.4b1 --- 2017-04-04 832 Version 4.4b1 --- 2017-04-04
680 ---------------------------- 833 ----------------------------
681 834
703 856
704 - Coverage.py has long had a special hack to support CPython's need to measure 857 - Coverage.py has long had a special hack to support CPython's need to measure
705 the coverage of the standard library tests. This code was not installed by 858 the coverage of the standard library tests. This code was not installed by
706 kitted versions of coverage.py. Now it is. 859 kitted versions of coverage.py. Now it is.
707 860
708 .. _issue 79: https://bitbucket.org/ned/coveragepy/issues/79/save-prevents-harvesting-on-stop 861 .. _issue 79: https://github.com/nedbat/coveragepy/issues/79
709 .. _issue 96: https://bitbucket.org/ned/coveragepy/issues/96/unhelpful-warnings-produced-when-using 862 .. _issue 96: https://github.com/nedbat/coveragepy/issues/96
710 .. _issue 355: https://bitbucket.org/ned/coveragepy/issues/355/warnings-should-be-suppressable 863 .. _issue 355: https://github.com/nedbat/coveragepy/issues/355
711 .. _issue 448: https://bitbucket.org/ned/coveragepy/issues/448/save-and-html_report-prevent-further 864 .. _issue 448: https://github.com/nedbat/coveragepy/issues/448
712 .. _issue 570: https://bitbucket.org/ned/coveragepy/issues/570/cobertura-coverage-04dtd-support 865 .. _issue 570: https://github.com/nedbat/coveragepy/issues/570
713 866
714 867
715 .. _changes_434: 868 .. _changes_434:
716 869
717 Version 4.3.4 --- 2017-01-17 870 Version 4.3.4 --- 2017-01-17
719 872
720 - Fixing 2.6 in version 4.3.3 broke other things, because the too-tricky 873 - Fixing 2.6 in version 4.3.3 broke other things, because the too-tricky
721 exception wasn't properly derived from Exception, described in `issue 556`_. 874 exception wasn't properly derived from Exception, described in `issue 556`_.
722 A newb mistake; it hasn't been a good few days. 875 A newb mistake; it hasn't been a good few days.
723 876
724 .. _issue 556: https://bitbucket.org/ned/coveragepy/issues/556/43-fails-if-there-are-html-files-in-the 877 .. _issue 556: https://github.com/nedbat/coveragepy/issues/556
725 878
726 879
727 .. _changes_433: 880 .. _changes_433:
728 881
729 Version 4.3.3 --- 2017-01-17 882 Version 4.3.3 --- 2017-01-17
731 884
732 - Python 2.6 support was broken due to a testing exception imported for the 885 - Python 2.6 support was broken due to a testing exception imported for the
733 benefit of the coverage.py test suite. Properly conditionalizing it fixed 886 benefit of the coverage.py test suite. Properly conditionalizing it fixed
734 `issue 554`_ so that Python 2.6 works again. 887 `issue 554`_ so that Python 2.6 works again.
735 888
736 .. _issue 554: https://bitbucket.org/ned/coveragepy/issues/554/traceback-on-python-26-starting-with-432 889 .. _issue 554: https://github.com/nedbat/coveragepy/issues/554
737 890
738 891
739 .. _changes_432: 892 .. _changes_432:
740 893
741 Version 4.3.2 --- 2017-01-16 894 Version 4.3.2 --- 2017-01-16
774 directory, with ``--skip-covered``. And imagine due to your heroic 927 directory, with ``--skip-covered``. And imagine due to your heroic
775 test-writing efforts, a file just achieved the goal of 100% coverage. With 928 test-writing efforts, a file just achieved the goal of 100% coverage. With
776 coverage.py 4.3, the old HTML file with the less-than-100% coverage would be 929 coverage.py 4.3, the old HTML file with the less-than-100% coverage would be
777 left behind. This file is now properly deleted. 930 left behind. This file is now properly deleted.
778 931
779 .. _issue 322: https://bitbucket.org/ned/coveragepy/issues/322/cannot-use-coverage-with-jython 932 .. _issue 322: https://github.com/nedbat/coveragepy/issues/322
780 .. _issue 426: https://bitbucket.org/ned/coveragepy/issues/426/difference-between-coverage-results-with 933 .. _issue 426: https://github.com/nedbat/coveragepy/issues/426
781 .. _issue 522: https://bitbucket.org/ned/coveragepy/issues/522/incorrect-branch-reporting 934 .. _issue 522: https://github.com/nedbat/coveragepy/issues/522
782 .. _issue 549: https://bitbucket.org/ned/coveragepy/issues/549/skip-covered-with-100-coverage-throws-a-no 935 .. _issue 549: https://github.com/nedbat/coveragepy/issues/549
783 .. _issue 551: https://bitbucket.org/ned/coveragepy/issues/551/coveragepy-cannot-be-imported-in-jython27 936 .. _issue 551: https://github.com/nedbat/coveragepy/issues/551
784 937
785 938
786 .. _changes_431: 939 .. _changes_431:
787 940
788 Version 4.3.1 --- 2016-12-28 941 Version 4.3.1 --- 2016-12-28
794 - The check for conflicting ``--source`` and ``--include`` was too simple in a 947 - The check for conflicting ``--source`` and ``--include`` was too simple in a
795 few different ways, breaking a few perfectly reasonable use cases, described 948 few different ways, breaking a few perfectly reasonable use cases, described
796 in `issue 541`_. The check has been reverted while we re-think the fix for 949 in `issue 541`_. The check has been reverted while we re-think the fix for
797 `issue 265`_. 950 `issue 265`_.
798 951
799 .. _issue 540: https://bitbucket.org/ned/coveragepy/issues/540/cant-install-coverage-v43-into-under 952 .. _issue 540: https://github.com/nedbat/coveragepy/issues/540
800 .. _issue 541: https://bitbucket.org/ned/coveragepy/issues/541/coverage-43-breaks-nosetest-with-coverage 953 .. _issue 541: https://github.com/nedbat/coveragepy/issues/541
801 954
802 955
803 .. _changes_43: 956 .. _changes_43:
804 957
805 Version 4.3 --- 2016-12-27 958 Version 4.3 --- 2016-12-27
907 - Renamed AUTHORS.txt to CONTRIBUTORS.txt, since there are other ways to 1060 - Renamed AUTHORS.txt to CONTRIBUTORS.txt, since there are other ways to
908 contribute than by writing code. Also put the count of contributors into the 1061 contribute than by writing code. Also put the count of contributors into the
909 author string in setup.py, though this might be too cute. 1062 author string in setup.py, though this might be too cute.
910 1063
911 .. _sys.excepthook: https://docs.python.org/3/library/sys.html#sys.excepthook 1064 .. _sys.excepthook: https://docs.python.org/3/library/sys.html#sys.excepthook
912 .. _issue 265: https://bitbucket.org/ned/coveragepy/issues/265/when-using-source-include-is-silently 1065 .. _issue 265: https://github.com/nedbat/coveragepy/issues/265
913 .. _issue 412: https://bitbucket.org/ned/coveragepy/issues/412/coverage-combine-should-error-if-no 1066 .. _issue 412: https://github.com/nedbat/coveragepy/issues/412
914 .. _issue 433: https://bitbucket.org/ned/coveragepy/issues/433/coverage-html-does-not-suport-skip-covered 1067 .. _issue 433: https://github.com/nedbat/coveragepy/issues/433
915 .. _issue 493: https://bitbucket.org/ned/coveragepy/issues/493/confusing-branching-failure 1068 .. _issue 493: https://github.com/nedbat/coveragepy/issues/493
916 .. _issue 496: https://bitbucket.org/ned/coveragepy/issues/496/incorrect-coverage-with-branching-and 1069 .. _issue 496: https://github.com/nedbat/coveragepy/issues/496
917 .. _issue 502: https://bitbucket.org/ned/coveragepy/issues/502/incorrect-coverage-report-with-cover 1070 .. _issue 502: https://github.com/nedbat/coveragepy/issues/502
918 .. _issue 505: https://bitbucket.org/ned/coveragepy/issues/505/use-canonical-filename-for-debounce 1071 .. _issue 505: https://github.com/nedbat/coveragepy/issues/505
919 .. _issue 514: https://bitbucket.org/ned/coveragepy/issues/514/path-to-problem-file-not-reported-when 1072 .. _issue 514: https://github.com/nedbat/coveragepy/issues/514
920 .. _issue 510: https://bitbucket.org/ned/coveragepy/issues/510/erase-still-needed-in-42 1073 .. _issue 510: https://github.com/nedbat/coveragepy/issues/510
921 .. _issue 511: https://bitbucket.org/ned/coveragepy/issues/511/version-42-coverage-combine-empties 1074 .. _issue 511: https://github.com/nedbat/coveragepy/issues/511
922 .. _issue 516: https://bitbucket.org/ned/coveragepy/issues/516/running-coverage-combine-twice-deletes-all 1075 .. _issue 516: https://github.com/nedbat/coveragepy/issues/516
923 .. _issue 519: https://bitbucket.org/ned/coveragepy/issues/519/coverage-run-sections-in-toxini-or-as 1076 .. _issue 519: https://github.com/nedbat/coveragepy/issues/519
924 .. _issue 524: https://bitbucket.org/ned/coveragepy/issues/524/coverage-report-with-skip-covered-column 1077 .. _issue 524: https://github.com/nedbat/coveragepy/issues/524
925 .. _issue 525: https://bitbucket.org/ned/coveragepy/issues/525/coverage-combine-when-not-in-parallel-mode 1078 .. _issue 525: https://github.com/nedbat/coveragepy/issues/525
926 .. _issue 529: https://bitbucket.org/ned/coveragepy/issues/529/encoding-marker-may-only-appear-on-the 1079 .. _issue 529: https://github.com/nedbat/coveragepy/issues/529
927 .. _issue 530: https://bitbucket.org/ned/coveragepy/issues/530/deprecationwarning-you-passed-a-bytestring 1080 .. _issue 530: https://github.com/nedbat/coveragepy/issues/530
928 .. _issue 533: https://bitbucket.org/ned/coveragepy/issues/533/exception-on-unencodable-file-name 1081 .. _issue 533: https://github.com/nedbat/coveragepy/issues/533
929 .. _issue 535: https://bitbucket.org/ned/coveragepy/issues/535/sysexcepthook-is-not-called 1082 .. _issue 535: https://github.com/nedbat/coveragepy/issues/535
930 1083
931 1084
932 .. _changes_42: 1085 .. _changes_42:
933 1086
934 Version 4.2 --- 2016-07-26 1087 Version 4.2 --- 2016-07-26
942 other run-affecting options on the command line. This prevents 1095 other run-affecting options on the command line. This prevents
943 failures like those reported in `issue 495`_. 1096 failures like those reported in `issue 495`_.
944 1097
945 - Filtering the HTML report is now faster, thanks to Ville Skyttä. 1098 - Filtering the HTML report is now faster, thanks to Ville Skyttä.
946 1099
947 .. _issue 495: https://bitbucket.org/ned/coveragepy/issues/495/branch-and-concurrency-are-conflicting 1100 .. _issue 495: https://github.com/nedbat/coveragepy/issues/495
948 1101
949 1102
950 Version 4.2b1 --- 2016-07-04 1103 Version 4.2b1 --- 2016-07-04
951 ---------------------------- 1104 ----------------------------
952 1105
995 1148
996 - The `test_helpers` module has been moved into a separate pip-installable 1149 - The `test_helpers` module has been moved into a separate pip-installable
997 package: `unittest-mixins`_. 1150 package: `unittest-mixins`_.
998 1151
999 .. _automatic subprocess measurement: https://coverage.readthedocs.io/en/latest/subprocess.html 1152 .. _automatic subprocess measurement: https://coverage.readthedocs.io/en/latest/subprocess.html
1000 .. _issue 199: https://bitbucket.org/ned/coveragepy/issues/199/add-a-way-to-sort-the-text-report 1153 .. _issue 199: https://github.com/nedbat/coveragepy/issues/199
1001 .. _issue 231: https://bitbucket.org/ned/coveragepy/issues/231/various-default-behavior-in-report-phase 1154 .. _issue 231: https://github.com/nedbat/coveragepy/issues/231
1002 .. _issue 298: https://bitbucket.org/ned/coveragepy/issues/298/show-in-html-report-that-the-columns-are 1155 .. _issue 298: https://github.com/nedbat/coveragepy/issues/298
1003 .. _issue 396: https://bitbucket.org/ned/coveragepy/issues/396/coverage-xml-shouldnt-bail-out-on-parse 1156 .. _issue 396: https://github.com/nedbat/coveragepy/issues/396
1004 .. _issue 454: https://bitbucket.org/ned/coveragepy/issues/454/coverage-debug-config-should-be 1157 .. _issue 454: https://github.com/nedbat/coveragepy/issues/454
1005 .. _issue 478: https://bitbucket.org/ned/coveragepy/issues/478/help-shows-silly-program-name-when-running 1158 .. _issue 478: https://github.com/nedbat/coveragepy/issues/478
1006 .. _issue 484: https://bitbucket.org/ned/coveragepy/issues/484/multiprocessing-greenlet-concurrency 1159 .. _issue 484: https://github.com/nedbat/coveragepy/issues/484
1007 .. _issue 492: https://bitbucket.org/ned/coveragepy/issues/492/subprocess-coverage-strange-detection-of 1160 .. _issue 492: https://github.com/nedbat/coveragepy/issues/492
1008 .. _unittest-mixins: https://pypi.org/project/unittest-mixins/ 1161 .. _unittest-mixins: https://pypi.org/project/unittest-mixins/
1009 1162
1010 1163
1011 .. _changes_41: 1164 .. _changes_41:
1012 1165
1069 it creates, as suggested in `issue 481`_. 1222 it creates, as suggested in `issue 481`_.
1070 1223
1071 - Make a small tweak to how we compare threads, to avoid buggy custom 1224 - Make a small tweak to how we compare threads, to avoid buggy custom
1072 comparison code in thread classes. (`issue 245`_) 1225 comparison code in thread classes. (`issue 245`_)
1073 1226
1074 .. _issue 90: https://bitbucket.org/ned/coveragepy/issues/90/lambda-expression-confuses-branch 1227 .. _issue 90: https://github.com/nedbat/coveragepy/issues/90
1075 .. _issue 245: https://bitbucket.org/ned/coveragepy/issues/245/change-solution-for-issue-164 1228 .. _issue 245: https://github.com/nedbat/coveragepy/issues/245
1076 .. _issue 440: https://bitbucket.org/ned/coveragepy/issues/440/yielded-twisted-failure-marked-as-missed 1229 .. _issue 440: https://github.com/nedbat/coveragepy/issues/440
1077 .. _issue 456: https://bitbucket.org/ned/coveragepy/issues/456/coverage-breaks-with-implicit-namespaces 1230 .. _issue 456: https://github.com/nedbat/coveragepy/issues/456
1078 .. _issue 460: https://bitbucket.org/ned/coveragepy/issues/460/confusing-html-report-for-certain-partial 1231 .. _issue 460: https://github.com/nedbat/coveragepy/issues/460
1079 .. _issue 469: https://bitbucket.org/ned/coveragepy/issues/469/strange-1-line-number-in-branch-coverage 1232 .. _issue 469: https://github.com/nedbat/coveragepy/issues/469
1080 .. _issue 472: https://bitbucket.org/ned/coveragepy/issues/472/html-report-indents-incorrectly-for-one 1233 .. _issue 472: https://github.com/nedbat/coveragepy/issues/472
1081 .. _issue 475: https://bitbucket.org/ned/coveragepy/issues/475/generator-expression-is-marked-as-not 1234 .. _issue 475: https://github.com/nedbat/coveragepy/issues/475
1082 .. _issue 479: https://bitbucket.org/ned/coveragepy/issues/479/clarify-the-need-for-the-c-extension 1235 .. _issue 479: https://github.com/nedbat/coveragepy/issues/479
1083 .. _issue 481: https://bitbucket.org/ned/coveragepy/issues/481/asyncioprocesspoolexecutor-tracing-not 1236 .. _issue 481: https://github.com/nedbat/coveragepy/issues/481
1084 .. _issue 485: https://bitbucket.org/ned/coveragepy/issues/485/coveragereport-ignores-show_missing-and 1237 .. _issue 485: https://github.com/nedbat/coveragepy/issues/485
1085 1238
1086 1239
1087 Version 4.1b2 --- 2016-01-23 1240 Version 4.1b2 --- 2016-01-23
1088 ---------------------------- 1241 ----------------------------
1089 1242
1102 - The XML report now produces correct package names for modules found in 1255 - The XML report now produces correct package names for modules found in
1103 directories specified with ``source=``. Fixes `issue 465`_. 1256 directories specified with ``source=``. Fixes `issue 465`_.
1104 1257
1105 - ``coverage report`` won't produce trailing whitespace. 1258 - ``coverage report`` won't produce trailing whitespace.
1106 1259
1107 .. _issue 465: https://bitbucket.org/ned/coveragepy/issues/465/coveragexml-produces-package-names-with-an 1260 .. _issue 465: https://github.com/nedbat/coveragepy/issues/465
1108 .. _issue 466: https://bitbucket.org/ned/coveragepy/issues/466/impossible-missed-branch-to-a-negative 1261 .. _issue 466: https://github.com/nedbat/coveragepy/issues/466
1109 1262
1110 1263
1111 Version 4.1b1 --- 2016-01-10 1264 Version 4.1b1 --- 2016-01-10
1112 ---------------------------- 1265 ----------------------------
1113 1266
1151 stopped working in 4.0. Now they work again, closing `issue 455`_. 1304 stopped working in 4.0. Now they work again, closing `issue 455`_.
1152 1305
1153 - Form-feed characters would prevent accurate determination of the beginning of 1306 - Form-feed characters would prevent accurate determination of the beginning of
1154 statements in the rest of the file. This is now fixed, closing `issue 461`_. 1307 statements in the rest of the file. This is now fixed, closing `issue 461`_.
1155 1308
1156 .. _issue 129: https://bitbucket.org/ned/coveragepy/issues/129/misleading-branch-coverage-of-empty 1309 .. _issue 129: https://github.com/nedbat/coveragepy/issues/129
1157 .. _issue 131: https://bitbucket.org/ned/coveragepy/issues/131/pragma-on-a-decorator-line-should-affect 1310 .. _issue 131: https://github.com/nedbat/coveragepy/issues/131
1158 .. _issue 146: https://bitbucket.org/ned/coveragepy/issues/146/context-managers-confuse-branch-coverage 1311 .. _issue 146: https://github.com/nedbat/coveragepy/issues/146
1159 .. _issue 212: https://bitbucket.org/ned/coveragepy/issues/212/coverage-erroneously-reports-partial 1312 .. _issue 212: https://github.com/nedbat/coveragepy/issues/212
1160 .. _issue 422: https://bitbucket.org/ned/coveragepy/issues/422/python35-partial-branch-marked-as-fully 1313 .. _issue 422: https://github.com/nedbat/coveragepy/issues/422
1161 .. _issue 434: https://bitbucket.org/ned/coveragepy/issues/434/indexerror-in-python-35 1314 .. _issue 434: https://github.com/nedbat/coveragepy/issues/434
1162 .. _issue 453: https://bitbucket.org/ned/coveragepy/issues/453/source-code-encoding-can-only-be-specified 1315 .. _issue 453: https://github.com/nedbat/coveragepy/issues/453
1163 .. _issue 455: https://bitbucket.org/ned/coveragepy/issues/455/unusual-exclusions-stopped-working-in 1316 .. _issue 455: https://github.com/nedbat/coveragepy/issues/455
1164 .. _issue 461: https://bitbucket.org/ned/coveragepy/issues/461/multiline-asserts-need-too-many-pragma 1317 .. _issue 461: https://github.com/nedbat/coveragepy/issues/461
1165 1318
1166 1319
1167 .. _changes_403: 1320 .. _changes_403:
1168 1321
1169 Version 4.0.3 --- 2015-11-24 1322 Version 4.0.3 --- 2015-11-24
1182 1335
1183 - Help messages that mention the command to use now properly use the actual 1336 - Help messages that mention the command to use now properly use the actual
1184 command name, which might be different than "coverage". Thanks to Ben 1337 command name, which might be different than "coverage". Thanks to Ben
1185 Finney, this closes `issue 438`_. 1338 Finney, this closes `issue 438`_.
1186 1339
1187 .. _issue 420: https://bitbucket.org/ned/coveragepy/issues/420/coverage-40-hangs-indefinitely-on-python27 1340 .. _issue 420: https://github.com/nedbat/coveragepy/issues/420
1188 .. _issue 438: https://bitbucket.org/ned/coveragepy/issues/438/parameterise-coverage-command-name 1341 .. _issue 438: https://github.com/nedbat/coveragepy/issues/438
1189 .. _issue 439: https://bitbucket.org/ned/coveragepy/issues/439/incorrect-cobertura-file-sources-generated 1342 .. _issue 439: https://github.com/nedbat/coveragepy/issues/439
1190 .. _issue 443: https://bitbucket.org/ned/coveragepy/issues/443/coverage-gets-confused-when-encoding 1343 .. _issue 443: https://github.com/nedbat/coveragepy/issues/443
1191 .. _issue 445: https://bitbucket.org/ned/coveragepy/issues/445/django-app-cannot-connect-to-cassandra 1344 .. _issue 445: https://github.com/nedbat/coveragepy/issues/445
1192 1345
1193 1346
1194 .. _changes_402: 1347 .. _changes_402:
1195 1348
1196 Version 4.0.2 --- 2015-11-04 1349 Version 4.0.2 --- 2015-11-04
1205 as reported in `issue 436`_. This is now fixed. 1358 as reported in `issue 436`_. This is now fixed.
1206 1359
1207 - Officially support PyPy 4.0, which required no changes, just updates to the 1360 - Officially support PyPy 4.0, which required no changes, just updates to the
1208 docs. 1361 docs.
1209 1362
1210 .. _issue 431: https://bitbucket.org/ned/coveragepy/issues/431/couldnt-parse-python-file-with-cp1252 1363 .. _issue 431: https://github.com/nedbat/coveragepy/issues/431
1211 .. _issue 432: https://bitbucket.org/ned/coveragepy/issues/432/path-with-unicode-characters-various 1364 .. _issue 432: https://github.com/nedbat/coveragepy/issues/432
1212 .. _issue 436: https://bitbucket.org/ned/coveragepy/issues/436/disabled-coverage-ctracer-may-rise-from 1365 .. _issue 436: https://github.com/nedbat/coveragepy/issues/436
1213 1366
1214 1367
1215 .. _changes_401: 1368 .. _changes_401:
1216 1369
1217 Version 4.0.1 --- 2015-10-13 1370 Version 4.0.1 --- 2015-10-13
1248 `issue 419`_. 1401 `issue 419`_.
1249 1402
1250 - The source kit now contains all of the files needed to have a complete source 1403 - The source kit now contains all of the files needed to have a complete source
1251 tree, re-fixing `issue 137`_ and closing `issue 281`_. 1404 tree, re-fixing `issue 137`_ and closing `issue 281`_.
1252 1405
1253 .. _issue 281: https://bitbucket.org/ned/coveragepy/issues/281/supply-scripts-for-testing-in-the 1406 .. _issue 281: https://github.com/nedbat/coveragepy/issues/281
1254 .. _issue 397: https://bitbucket.org/ned/coveragepy/issues/397/stopping-and-resuming-coverage-with 1407 .. _issue 397: https://github.com/nedbat/coveragepy/issues/397
1255 .. _issue 410: https://bitbucket.org/ned/coveragepy/issues/410/attributeerror-module-object-has-no 1408 .. _issue 410: https://github.com/nedbat/coveragepy/issues/410
1256 .. _issue 415: https://bitbucket.org/ned/coveragepy/issues/415/repeated-coveragedataupdates-cause 1409 .. _issue 415: https://github.com/nedbat/coveragepy/issues/415
1257 .. _issue 416: https://bitbucket.org/ned/coveragepy/issues/416/mocking-ospathexists-causes-failures 1410 .. _issue 416: https://github.com/nedbat/coveragepy/issues/416
1258 .. _issue 418: https://bitbucket.org/ned/coveragepy/issues/418/json-parse-error 1411 .. _issue 418: https://github.com/nedbat/coveragepy/issues/418
1259 .. _issue 419: https://bitbucket.org/ned/coveragepy/issues/419/nosource-no-source-for-code-path-to-c 1412 .. _issue 419: https://github.com/nedbat/coveragepy/issues/419
1260 .. _issue 423: https://bitbucket.org/ned/coveragepy/issues/423/skip_covered-changes-reported-total 1413 .. _issue 423: https://github.com/nedbat/coveragepy/issues/423
1261 1414
1262 1415
1263 .. _changes_40: 1416 .. _changes_40:
1264 1417
1265 Version 4.0 --- 2015-09-20 1418 Version 4.0 --- 2015-09-20
1282 - Kits used to include tests and docs, but didn't install them anywhere, or 1435 - Kits used to include tests and docs, but didn't install them anywhere, or
1283 provide all of the supporting tools to make them useful. Kits no longer 1436 provide all of the supporting tools to make them useful. Kits no longer
1284 include tests and docs. If you were using them from the older packages, get 1437 include tests and docs. If you were using them from the older packages, get
1285 in touch and help me understand how. 1438 in touch and help me understand how.
1286 1439
1287 .. _issue 403: https://bitbucket.org/ned/coveragepy/issues/403/hasherupdate-fails-with-typeerror-nonetype 1440 .. _issue 403: https://github.com/nedbat/coveragepy/issues/403
1288 .. _issue 404: https://bitbucket.org/ned/coveragepy/issues/404/shiningpanda-jenkins-plugin-cant-find-html 1441 .. _issue 404: https://github.com/nedbat/coveragepy/issues/404
1289 1442
1290 1443
1291 Version 4.0b2 --- 2015-08-22 1444 Version 4.0b2 --- 2015-08-22
1292 ---------------------------- 1445 ----------------------------
1293 1446
1313 Alexander Todorov. Closes `issue 395`_. 1466 Alexander Todorov. Closes `issue 395`_.
1314 1467
1315 - A new version identifier is available, `coverage.version_info`, a plain tuple 1468 - A new version identifier is available, `coverage.version_info`, a plain tuple
1316 of values similar to `sys.version_info`_. 1469 of values similar to `sys.version_info`_.
1317 1470
1318 .. _issue 392: https://bitbucket.org/ned/coveragepy/issues/392/run-append-doesnt-create-coverage-file 1471 .. _issue 392: https://github.com/nedbat/coveragepy/issues/392
1319 .. _issue 395: https://bitbucket.org/ned/coveragepy/issues/395/rfe-read-pickled-files-as-well-for 1472 .. _issue 395: https://github.com/nedbat/coveragepy/issues/395
1320 .. _issue 399: https://bitbucket.org/ned/coveragepy/issues/399/coverageexception-cant-combine-line-data 1473 .. _issue 399: https://github.com/nedbat/coveragepy/issues/399
1321 .. _sys.version_info: https://docs.python.org/3/library/sys.html#sys.version_info 1474 .. _sys.version_info: https://docs.python.org/3/library/sys.html#sys.version_info
1322 1475
1323 1476
1324 Version 4.0b1 --- 2015-08-02 1477 Version 4.0b1 --- 2015-08-02
1325 ---------------------------- 1478 ----------------------------
1385 - ``coverage combine`` now accepts files as well as directories. 1538 - ``coverage combine`` now accepts files as well as directories.
1386 1539
1387 - The speed is back to 3.7.1 levels, after having slowed down due to plugin 1540 - The speed is back to 3.7.1 levels, after having slowed down due to plugin
1388 support, finishing up `issue 387`_. 1541 support, finishing up `issue 387`_.
1389 1542
1390 .. _issue 236: https://bitbucket.org/ned/coveragepy/issues/236/pickles-are-bad-and-you-should-feel-bad 1543 .. _issue 236: https://github.com/nedbat/coveragepy/issues/236
1391 .. _issue 252: https://bitbucket.org/ned/coveragepy/issues/252/coverage-wont-run-a-program-with 1544 .. _issue 252: https://github.com/nedbat/coveragepy/issues/252
1392 .. _issue 262: https://bitbucket.org/ned/coveragepy/issues/262/when-parallel-true-erase-should-erase-all 1545 .. _issue 262: https://github.com/nedbat/coveragepy/issues/262
1393 .. _issue 275: https://bitbucket.org/ned/coveragepy/issues/275/refer-consistently-to-project-as-coverage 1546 .. _issue 275: https://github.com/nedbat/coveragepy/issues/275
1394 .. _issue 313: https://bitbucket.org/ned/coveragepy/issues/313/add-license-file-containing-2-3-or-4 1547 .. _issue 313: https://github.com/nedbat/coveragepy/issues/313
1395 .. _issue 380: https://bitbucket.org/ned/coveragepy/issues/380/code-executed-by-exec-excluded-from 1548 .. _issue 380: https://github.com/nedbat/coveragepy/issues/380
1396 .. _issue 385: https://bitbucket.org/ned/coveragepy/issues/385/coverage-combine-doesnt-work-with-rcfile 1549 .. _issue 385: https://github.com/nedbat/coveragepy/issues/385
1397 .. _issue 386: https://bitbucket.org/ned/coveragepy/issues/386/error-on-unrecognised-configuration 1550 .. _issue 386: https://github.com/nedbat/coveragepy/issues/386
1398 .. _issue 387: https://bitbucket.org/ned/coveragepy/issues/387/performance-degradation-from-371-to-40 1551 .. _issue 387: https://github.com/nedbat/coveragepy/issues/387
1399 1552
1400 .. 40 issues closed in 4.0 below here 1553 .. 40 issues closed in 4.0 below here
1401 1554
1402 1555
1403 Version 4.0a6 --- 2015-06-21 1556 Version 4.0a6 --- 2015-06-21
1447 Ionel Cristian Mărieș. 1600 Ionel Cristian Mărieș.
1448 1601
1449 - Plugin support had some bugs fixed, closing `issue 374`_ and `issue 375`_. 1602 - Plugin support had some bugs fixed, closing `issue 374`_ and `issue 375`_.
1450 Thanks, Stefan Behnel. 1603 Thanks, Stefan Behnel.
1451 1604
1452 .. _issue 299: https://bitbucket.org/ned/coveragepy/issues/299/inserted-created-on-yyyy-mm-dd-hh-mm-in 1605 .. _issue 299: https://github.com/nedbat/coveragepy/issues/299
1453 .. _issue 308: https://bitbucket.org/ned/coveragepy/issues/308/yield-lambda-branch-coverage 1606 .. _issue 308: https://github.com/nedbat/coveragepy/issues/308
1454 .. _issue 324: https://bitbucket.org/ned/coveragepy/issues/324/yield-in-loop-confuses-branch-coverage 1607 .. _issue 324: https://github.com/nedbat/coveragepy/issues/324
1455 .. _issue 351: https://bitbucket.org/ned/coveragepy/issues/351/files-with-incorrect-encoding-are-ignored 1608 .. _issue 351: https://github.com/nedbat/coveragepy/issues/351
1456 .. _issue 354: https://bitbucket.org/ned/coveragepy/issues/354/coverage-combine-should-take-a-list-of 1609 .. _issue 354: https://github.com/nedbat/coveragepy/issues/354
1457 .. _issue 359: https://bitbucket.org/ned/coveragepy/issues/359/xml-report-chunk-error 1610 .. _issue 359: https://github.com/nedbat/coveragepy/issues/359
1458 .. _issue 360: https://bitbucket.org/ned/coveragepy/issues/360/html-reports-get-confused-by-l-in-the-code 1611 .. _issue 360: https://github.com/nedbat/coveragepy/issues/360
1459 .. _issue 361: https://bitbucket.org/ned/coveragepy/issues/361/use-double-quotes-in-html-output-to 1612 .. _issue 361: https://github.com/nedbat/coveragepy/issues/361
1460 .. _issue 363: https://bitbucket.org/ned/coveragepy/issues/363/annotate-command-hits-unicode-happy-fun 1613 .. _issue 363: https://github.com/nedbat/coveragepy/issues/363
1461 .. _issue 374: https://bitbucket.org/ned/coveragepy/issues/374/c-tracer-lookups-fail-in 1614 .. _issue 374: https://github.com/nedbat/coveragepy/issues/374
1462 .. _issue 375: https://bitbucket.org/ned/coveragepy/issues/375/ctracer_handle_return-reads-byte-code 1615 .. _issue 375: https://github.com/nedbat/coveragepy/issues/375
1463 1616
1464 1617
1465 Version 4.0a5 --- 2015-02-16 1618 Version 4.0a5 --- 2015-02-16
1466 ---------------------------- 1619 ----------------------------
1467 1620
1487 only once, no matter how many times it is called. This fixes problems due 1640 only once, no matter how many times it is called. This fixes problems due
1488 to unusual virtualenv configurations (`issue 340`_). 1641 to unusual virtualenv configurations (`issue 340`_).
1489 1642
1490 - Added 3.5.0a1 to the list of supported CPython versions. 1643 - Added 3.5.0a1 to the list of supported CPython versions.
1491 1644
1492 .. _issue 117: https://bitbucket.org/ned/coveragepy/issues/117/enable-coverage-measurement-of-code-run-by 1645 .. _issue 117: https://github.com/nedbat/coveragepy/issues/117
1493 .. _issue 340: https://bitbucket.org/ned/coveragepy/issues/340/keyerror-subpy 1646 .. _issue 340: https://github.com/nedbat/coveragepy/issues/340
1494 .. _issue 353: https://bitbucket.org/ned/coveragepy/issues/353/40a3-introduces-an-unexpected-third-case 1647 .. _issue 353: https://github.com/nedbat/coveragepy/issues/353
1495 .. _issue 357: https://bitbucket.org/ned/coveragepy/issues/357/behavior-changed-when-coveragerc-is 1648 .. _issue 357: https://github.com/nedbat/coveragepy/issues/357
1496 .. _issue 358: https://bitbucket.org/ned/coveragepy/issues/358/all-coverage-commands-should-adjust 1649 .. _issue 358: https://github.com/nedbat/coveragepy/issues/358
1497 1650
1498 1651
1499 Version 4.0a4 --- 2015-01-25 1652 Version 4.0a4 --- 2015-01-25
1500 ---------------------------- 1653 ----------------------------
1501 1654
1531 covered (`issue 345`_). 1684 covered (`issue 345`_).
1532 1685
1533 - Regexes in the configuration file are now compiled as soon as they are read, 1686 - Regexes in the configuration file are now compiled as soon as they are read,
1534 to provide error messages earlier (`issue 349`_). 1687 to provide error messages earlier (`issue 349`_).
1535 1688
1536 .. _issue 69: https://bitbucket.org/ned/coveragepy/issues/69/coverage-html-overwrite-files-that-doesnt 1689 .. _issue 69: https://github.com/nedbat/coveragepy/issues/69
1537 .. _issue 235: https://bitbucket.org/ned/coveragepy/issues/235/package-name-is-missing-in-xml-report 1690 .. _issue 235: https://github.com/nedbat/coveragepy/issues/235
1538 .. _issue 290: https://bitbucket.org/ned/coveragepy/issues/290/running-programmatically-with-pyw-files 1691 .. _issue 290: https://github.com/nedbat/coveragepy/issues/290
1539 .. _issue 345: https://bitbucket.org/ned/coveragepy/issues/345/xml-reports-line-rate-0-for-empty-files 1692 .. _issue 345: https://github.com/nedbat/coveragepy/issues/345
1540 .. _issue 349: https://bitbucket.org/ned/coveragepy/issues/349/bad-regex-in-config-should-get-an-earlier 1693 .. _issue 349: https://github.com/nedbat/coveragepy/issues/349
1541 1694
1542 1695
1543 Version 4.0a2 --- 2015-01-14 1696 Version 4.0a2 --- 2015-01-14
1544 ---------------------------- 1697 ----------------------------
1545 1698
1595 1748
1596 - The status.dat file that HTML reports use to avoid re-creating files that 1749 - The status.dat file that HTML reports use to avoid re-creating files that
1597 haven't changed is now a JSON file instead of a pickle file. This obviates 1750 haven't changed is now a JSON file instead of a pickle file. This obviates
1598 `issue 287`_ and `issue 237`_. 1751 `issue 287`_ and `issue 237`_.
1599 1752
1600 .. _issue 237: https://bitbucket.org/ned/coveragepy/issues/237/htmlcov-with-corrupt-statusdat 1753 .. _issue 237: https://github.com/nedbat/coveragepy/issues/237
1601 .. _issue 287: https://bitbucket.org/ned/coveragepy/issues/287/htmlpy-doesnt-specify-pickle-protocol 1754 .. _issue 287: https://github.com/nedbat/coveragepy/issues/287
1602 .. _issue 293: https://bitbucket.org/ned/coveragepy/issues/293/number-of-statement-detection-wrong-if-no 1755 .. _issue 293: https://github.com/nedbat/coveragepy/issues/293
1603 .. _issue 314: https://bitbucket.org/ned/coveragepy/issues/314/fail_under-param-not-working-in-coveragerc 1756 .. _issue 314: https://github.com/nedbat/coveragepy/issues/314
1604 .. _issue 315: https://bitbucket.org/ned/coveragepy/issues/315/option-to-omit-empty-files-eg-__init__py 1757 .. _issue 315: https://github.com/nedbat/coveragepy/issues/315
1605 .. _issue 328: https://bitbucket.org/ned/coveragepy/issues/328/misbehavior-in-run-source 1758 .. _issue 328: https://github.com/nedbat/coveragepy/issues/328
1606 .. _issue 334: https://bitbucket.org/ned/coveragepy/issues/334/pragma-not-recognized-if-tab-character 1759 .. _issue 334: https://github.com/nedbat/coveragepy/issues/334
1607 .. _issue 342: https://bitbucket.org/ned/coveragepy/issues/342/console-and-html-coverage-reports-differ 1760 .. _issue 342: https://github.com/nedbat/coveragepy/issues/342
1608 .. _issue 343: https://bitbucket.org/ned/coveragepy/issues/343/an-explicitly-named-non-existent-config 1761 .. _issue 343: https://github.com/nedbat/coveragepy/issues/343
1609 1762
1610 1763
1611 Version 4.0a1 --- 2014-09-27 1764 Version 4.0a1 --- 2014-09-27
1612 ---------------------------- 1765 ----------------------------
1613 1766
1648 importing the imp module, fixing `issue 305`_. 1801 importing the imp module, fixing `issue 305`_.
1649 1802
1650 - Encoding declarations in source files are only considered if they are truly 1803 - Encoding declarations in source files are only considered if they are truly
1651 comments. Thanks, Anthony Sottile. 1804 comments. Thanks, Anthony Sottile.
1652 1805
1653 .. _issue 57: https://bitbucket.org/ned/coveragepy/issues/57/annotate-command-fails-to-annotate-many 1806 .. _issue 57: https://github.com/nedbat/coveragepy/issues/57
1654 .. _issue 94: https://bitbucket.org/ned/coveragepy/issues/94/coverage-xml-doesnt-produce-sources 1807 .. _issue 94: https://github.com/nedbat/coveragepy/issues/94
1655 .. _issue 149: https://bitbucket.org/ned/coveragepy/issues/149/coverage-gevent-looks-broken 1808 .. _issue 149: https://github.com/nedbat/coveragepy/issues/149
1656 .. _issue 230: https://bitbucket.org/ned/coveragepy/issues/230/show-line-no-for-missing-branches-in 1809 .. _issue 230: https://github.com/nedbat/coveragepy/issues/230
1657 .. _issue 284: https://bitbucket.org/ned/coveragepy/issues/284/fail-under-should-show-more-precision 1810 .. _issue 284: https://github.com/nedbat/coveragepy/issues/284
1658 .. _issue 285: https://bitbucket.org/ned/coveragepy/issues/285/xml-report-fails-if-output-file-directory 1811 .. _issue 285: https://github.com/nedbat/coveragepy/issues/285
1659 .. _issue 303: https://bitbucket.org/ned/coveragepy/issues/303/unicodedecodeerror 1812 .. _issue 303: https://github.com/nedbat/coveragepy/issues/303
1660 .. _issue 304: https://bitbucket.org/ned/coveragepy/issues/304/attempt-to-get-configuration-from-setupcfg 1813 .. _issue 304: https://github.com/nedbat/coveragepy/issues/304
1661 .. _issue 305: https://bitbucket.org/ned/coveragepy/issues/305/pendingdeprecationwarning-the-imp-module 1814 .. _issue 305: https://github.com/nedbat/coveragepy/issues/305
1662 .. _issue 331: https://bitbucket.org/ned/coveragepy/issues/331/failure-of-encoding-detection-on-python2 1815 .. _issue 331: https://github.com/nedbat/coveragepy/issues/331
1663 1816
1664 1817
1665 .. _changes_371: 1818 .. _changes_371:
1666 1819
1667 Version 3.7.1 --- 2013-12-13 1820 Version 3.7.1 --- 2013-12-13
1716 decoded properly. Now they are. Thanks, Roger Hu. 1869 decoded properly. Now they are. Thanks, Roger Hu.
1717 1870
1718 - The source kit now includes the ``__main__.py`` file in the root coverage 1871 - The source kit now includes the ``__main__.py`` file in the root coverage
1719 directory, fixing `issue 255`_. 1872 directory, fixing `issue 255`_.
1720 1873
1721 .. _issue 92: https://bitbucket.org/ned/coveragepy/issues/92/finally-clauses-arent-treated-properly-in 1874 .. _issue 92: https://github.com/nedbat/coveragepy/issues/92
1722 .. _issue 164: https://bitbucket.org/ned/coveragepy/issues/164/trace-function-changed-warning-when-using 1875 .. _issue 164: https://github.com/nedbat/coveragepy/issues/164
1723 .. _issue 175: https://bitbucket.org/ned/coveragepy/issues/175/branch-coverage-gets-confused-in-certain 1876 .. _issue 175: https://github.com/nedbat/coveragepy/issues/175
1724 .. _issue 207: https://bitbucket.org/ned/coveragepy/issues/207/run-m-cannot-find-module-or-package-in 1877 .. _issue 207: https://github.com/nedbat/coveragepy/issues/207
1725 .. _issue 242: https://bitbucket.org/ned/coveragepy/issues/242/running-a-two-level-package-doesnt-work 1878 .. _issue 242: https://github.com/nedbat/coveragepy/issues/242
1726 .. _issue 218: https://bitbucket.org/ned/coveragepy/issues/218/run-command-does-not-respect-the-omit-flag 1879 .. _issue 218: https://github.com/nedbat/coveragepy/issues/218
1727 .. _issue 250: https://bitbucket.org/ned/coveragepy/issues/250/uncaught-zerodivisionerror-when-generating 1880 .. _issue 250: https://github.com/nedbat/coveragepy/issues/250
1728 .. _issue 255: https://bitbucket.org/ned/coveragepy/issues/255/directory-level-__main__py-not-included-in 1881 .. _issue 255: https://github.com/nedbat/coveragepy/issues/255
1729 .. _issue 259: https://bitbucket.org/ned/coveragepy/issues/259/allow-use-of-system-installed-third-party 1882 .. _issue 259: https://github.com/nedbat/coveragepy/issues/259
1730 .. _issue 261: https://bitbucket.org/ned/coveragepy/issues/261/pyw-files-arent-reported-properly 1883 .. _issue 261: https://github.com/nedbat/coveragepy/issues/261
1731 .. _issue 264: https://bitbucket.org/ned/coveragepy/issues/264/coverage-wont-run-pyc-files 1884 .. _issue 264: https://github.com/nedbat/coveragepy/issues/264
1732 .. _issue 267: https://bitbucket.org/ned/coveragepy/issues/267/relative-path-aliases-dont-work 1885 .. _issue 267: https://github.com/nedbat/coveragepy/issues/267
1733 1886
1734 1887
1735 .. _changes_36: 1888 .. _changes_36:
1736 1889
1737 Version 3.6 --- 2013-01-05 1890 Version 3.6 --- 2013-01-05
1738 -------------------------- 1891 --------------------------
1739 1892
1740 - Added a page to the docs about troublesome situations, closing `issue 226`_, 1893 - Added a page to the docs about troublesome situations, closing `issue 226`_,
1741 and added some info to the TODO file, closing `issue 227`_. 1894 and added some info to the TODO file, closing `issue 227`_.
1742 1895
1743 .. _issue 226: https://bitbucket.org/ned/coveragepy/issues/226/make-readme-section-to-describe-when 1896 .. _issue 226: https://github.com/nedbat/coveragepy/issues/226
1744 .. _issue 227: https://bitbucket.org/ned/coveragepy/issues/227/update-todo 1897 .. _issue 227: https://github.com/nedbat/coveragepy/issues/227
1745 1898
1746 1899
1747 Version 3.6b3 --- 2012-12-29 1900 Version 3.6b3 --- 2012-12-29
1748 ---------------------------- 1901 ----------------------------
1749 1902
1750 - Beta 2 broke the nose plugin. It's fixed again, closing `issue 224`_. 1903 - Beta 2 broke the nose plugin. It's fixed again, closing `issue 224`_.
1751 1904
1752 .. _issue 224: https://bitbucket.org/ned/coveragepy/issues/224/36b2-breaks-nosexcover 1905 .. _issue 224: https://github.com/nedbat/coveragepy/issues/224
1753 1906
1754 1907
1755 Version 3.6b2 --- 2012-12-23 1908 Version 3.6b2 --- 2012-12-23
1756 ---------------------------- 1909 ----------------------------
1757 1910
1767 1920
1768 - If an oddly-behaved package claims that code came from an empty-string 1921 - If an oddly-behaved package claims that code came from an empty-string
1769 file name, coverage.py no longer associates it with the directory name, 1922 file name, coverage.py no longer associates it with the directory name,
1770 fixing `issue 221`_. 1923 fixing `issue 221`_.
1771 1924
1772 .. _issue 221: https://bitbucket.org/ned/coveragepy/issues/221/coveragepy-incompatible-with-pyratemp 1925 .. _issue 221: https://github.com/nedbat/coveragepy/issues/221
1773 1926
1774 1927
1775 Version 3.6b1 --- 2012-11-28 1928 Version 3.6b1 --- 2012-11-28
1776 ---------------------------- 1929 ----------------------------
1777 1930
1861 2014
1862 - When coverage.py ended unsuccessfully, it may have reported odd errors like 2015 - When coverage.py ended unsuccessfully, it may have reported odd errors like
1863 ``'NoneType' object has no attribute 'isabs'``. It no longer does, 2016 ``'NoneType' object has no attribute 'isabs'``. It no longer does,
1864 so kiss `issue 153`_ goodbye. 2017 so kiss `issue 153`_ goodbye.
1865 2018
1866 .. _issue 60: https://bitbucket.org/ned/coveragepy/issues/60/incorrect-path-to-orphaned-pyc-files 2019 .. _issue 60: https://github.com/nedbat/coveragepy/issues/60
1867 .. _issue 67: https://bitbucket.org/ned/coveragepy/issues/67/xml-report-filenames-may-be-generated 2020 .. _issue 67: https://github.com/nedbat/coveragepy/issues/67
1868 .. _issue 89: https://bitbucket.org/ned/coveragepy/issues/89/on-windows-all-packages-are-reported-in 2021 .. _issue 89: https://github.com/nedbat/coveragepy/issues/89
1869 .. _issue 97: https://bitbucket.org/ned/coveragepy/issues/97/allow-environment-variables-to-be 2022 .. _issue 97: https://github.com/nedbat/coveragepy/issues/97
1870 .. _issue 100: https://bitbucket.org/ned/coveragepy/issues/100/source-directive-doesnt-work-for-packages 2023 .. _issue 100: https://github.com/nedbat/coveragepy/issues/100
1871 .. _issue 111: https://bitbucket.org/ned/coveragepy/issues/111/when-installing-coverage-with-pip-not 2024 .. _issue 111: https://github.com/nedbat/coveragepy/issues/111
1872 .. _issue 137: https://bitbucket.org/ned/coveragepy/issues/137/provide-docs-with-source-distribution 2025 .. _issue 137: https://github.com/nedbat/coveragepy/issues/137
1873 .. _issue 139: https://bitbucket.org/ned/coveragepy/issues/139/easy-check-for-a-certain-coverage-in-tests 2026 .. _issue 139: https://github.com/nedbat/coveragepy/issues/139
1874 .. _issue 143: https://bitbucket.org/ned/coveragepy/issues/143/omit-doesnt-seem-to-work-in-coverage 2027 .. _issue 143: https://github.com/nedbat/coveragepy/issues/143
1875 .. _issue 153: https://bitbucket.org/ned/coveragepy/issues/153/non-existent-filename-triggers 2028 .. _issue 153: https://github.com/nedbat/coveragepy/issues/153
1876 .. _issue 156: https://bitbucket.org/ned/coveragepy/issues/156/a-completely-unexecuted-file-shows-14 2029 .. _issue 156: https://github.com/nedbat/coveragepy/issues/156
1877 .. _issue 163: https://bitbucket.org/ned/coveragepy/issues/163/problem-with-include-and-omit-filename 2030 .. _issue 163: https://github.com/nedbat/coveragepy/issues/163
1878 .. _issue 171: https://bitbucket.org/ned/coveragepy/issues/171/how-to-contribute-and-run-tests 2031 .. _issue 171: https://github.com/nedbat/coveragepy/issues/171
1879 .. _issue 193: https://bitbucket.org/ned/coveragepy/issues/193/unicodedecodeerror-on-htmlpy 2032 .. _issue 193: https://github.com/nedbat/coveragepy/issues/193
1880 .. _issue 201: https://bitbucket.org/ned/coveragepy/issues/201/coverage-using-django-14-with-pydb-on 2033 .. _issue 201: https://github.com/nedbat/coveragepy/issues/201
1881 .. _issue 202: https://bitbucket.org/ned/coveragepy/issues/202/get-rid-of-ez_setuppy-and 2034 .. _issue 202: https://github.com/nedbat/coveragepy/issues/202
1882 .. _issue 203: https://bitbucket.org/ned/coveragepy/issues/203/duplicate-filenames-reported-when-filename 2035 .. _issue 203: https://github.com/nedbat/coveragepy/issues/203
1883 .. _issue 205: https://bitbucket.org/ned/coveragepy/issues/205/make-pydoc-coverage-more-friendly 2036 .. _issue 205: https://github.com/nedbat/coveragepy/issues/205
1884 .. _issue 206: https://bitbucket.org/ned/coveragepy/issues/206/pydoc-coveragecoverage-fails-with-an-error 2037 .. _issue 206: https://github.com/nedbat/coveragepy/issues/206
1885 .. _issue 210: https://bitbucket.org/ned/coveragepy/issues/210/if-theres-no-coverage-data-coverage-xml 2038 .. _issue 210: https://github.com/nedbat/coveragepy/issues/210
1886 .. _issue 214: https://bitbucket.org/ned/coveragepy/issues/214/coveragepy-measures-itself-on-precise 2039 .. _issue 214: https://github.com/nedbat/coveragepy/issues/214
1887 2040
1888 2041
1889 .. _changes_353: 2042 .. _changes_353:
1890 2043
1891 Version 3.5.3 --- 2012-09-29 2044 Version 3.5.3 --- 2012-09-29
1916 - Try to do a better job of the impossible task of detecting when we can't 2069 - Try to do a better job of the impossible task of detecting when we can't
1917 build the C extension, fixing `issue 183`_. 2070 build the C extension, fixing `issue 183`_.
1918 2071
1919 - Testing is now done with `tox`_, thanks, Marc Abramowitz. 2072 - Testing is now done with `tox`_, thanks, Marc Abramowitz.
1920 2073
1921 .. _issue 147: https://bitbucket.org/ned/coveragepy/issues/147/massive-memory-usage-by-ctracer 2074 .. _issue 147: https://github.com/nedbat/coveragepy/issues/147
1922 .. _issue 179: https://bitbucket.org/ned/coveragepy/issues/179/htmlreporter-fails-when-source-file-is 2075 .. _issue 179: https://github.com/nedbat/coveragepy/issues/179
1923 .. _issue 183: https://bitbucket.org/ned/coveragepy/issues/183/install-fails-for-python-23 2076 .. _issue 183: https://github.com/nedbat/coveragepy/issues/183
1924 .. _issue 194: https://bitbucket.org/ned/coveragepy/issues/194/filelocatorrelative_filename-could-mangle 2077 .. _issue 194: https://github.com/nedbat/coveragepy/issues/194
1925 .. _issue 195: https://bitbucket.org/ned/coveragepy/issues/195/pyo-file-handling-in-codeunit 2078 .. _issue 195: https://github.com/nedbat/coveragepy/issues/195
1926 .. _issue 197: https://bitbucket.org/ned/coveragepy/issues/197/line-numbers-in-html-report-do-not-align 2079 .. _issue 197: https://github.com/nedbat/coveragepy/issues/197
1927 .. _tox: https://tox.readthedocs.io/ 2080 .. _tox: https://tox.readthedocs.io/
1928 2081
1929 2082
1930 .. _changes_352: 2083 .. _changes_352:
1931 2084
1969 status when running ``python -m coverage run ...``. Thanks, JT Olds. 2122 status when running ``python -m coverage run ...``. Thanks, JT Olds.
1970 2123
1971 - When installing into pypy, we no longer attempt (and fail) to compile 2124 - When installing into pypy, we no longer attempt (and fail) to compile
1972 the C tracer function, closing `issue 166`_. 2125 the C tracer function, closing `issue 166`_.
1973 2126
1974 .. _issue 142: https://bitbucket.org/ned/coveragepy/issues/142/executing-python-file-syspath-is-replaced 2127 .. _issue 142: https://github.com/nedbat/coveragepy/issues/142
1975 .. _issue 155: https://bitbucket.org/ned/coveragepy/issues/155/cant-use-coverage-run-m-unittest-discover 2128 .. _issue 155: https://github.com/nedbat/coveragepy/issues/155
1976 .. _issue 157: https://bitbucket.org/ned/coveragepy/issues/157/chokes-on-source-files-with-non-utf-8 2129 .. _issue 157: https://github.com/nedbat/coveragepy/issues/157
1977 .. _issue 166: https://bitbucket.org/ned/coveragepy/issues/166/dont-try-to-compile-c-extension-on-pypy 2130 .. _issue 166: https://github.com/nedbat/coveragepy/issues/166
1978 .. _issue 168: https://bitbucket.org/ned/coveragepy/issues/168/dont-be-alarmed-by-emacs-droppings 2131 .. _issue 168: https://github.com/nedbat/coveragepy/issues/168
1979 .. _issue 173: https://bitbucket.org/ned/coveragepy/issues/173/theres-no-way-to-specify-show-missing-in 2132 .. _issue 173: https://github.com/nedbat/coveragepy/issues/173
1980 2133
1981 2134
1982 .. _changes_351: 2135 .. _changes_351:
1983 2136
1984 Version 3.5.1 --- 2011-09-23 2137 Version 3.5.1 --- 2011-09-23
2018 - In order to help the core developers measure the test coverage of the 2171 - In order to help the core developers measure the test coverage of the
2019 standard library, Brandon Rhodes devised an aggressive hack to trick Python 2172 standard library, Brandon Rhodes devised an aggressive hack to trick Python
2020 into running some coverage.py code before anything else in the process. 2173 into running some coverage.py code before anything else in the process.
2021 See the coverage/fullcoverage directory if you are interested. 2174 See the coverage/fullcoverage directory if you are interested.
2022 2175
2023 .. _issue 17: https://bitbucket.org/ned/coveragepy/issues/17/support-combining-coverage-data-from 2176 .. _issue 17: https://github.com/nedbat/coveragepy/issues/17
2024 .. _issue 122: https://bitbucket.org/ned/coveragepy/issues/122/for-else-always-reports-missing-branch 2177 .. _issue 122: https://github.com/nedbat/coveragepy/issues/122
2025 .. _issue 124: https://bitbucket.org/ned/coveragepy/issues/124/no-arbitrary-unicode-in-html-reports-in 2178 .. _issue 124: https://github.com/nedbat/coveragepy/issues/124
2026 .. _issue 128: https://bitbucket.org/ned/coveragepy/issues/128/branch-coverage-of-with-statement-in-27 2179 .. _issue 128: https://github.com/nedbat/coveragepy/issues/128
2027 .. _issue 138: https://bitbucket.org/ned/coveragepy/issues/138/include-should-take-precedence-over-is 2180 .. _issue 138: https://github.com/nedbat/coveragepy/issues/138
2028 .. _issue 144: https://bitbucket.org/ned/coveragepy/issues/144/failure-generating-html-output-for 2181 .. _issue 144: https://github.com/nedbat/coveragepy/issues/144
2029 2182
2030 2183
2031 .. _changes_35: 2184 .. _changes_35:
2032 2185
2033 Version 3.5 --- 2011-06-29 2186 Version 3.5 --- 2011-06-29
2105 coverage reporting work, unfortunately. 2258 coverage reporting work, unfortunately.
2106 2259
2107 - Internally, files are now closed explicitly, fixing `issue 104`_. Thanks, 2260 - Internally, files are now closed explicitly, fixing `issue 104`_. Thanks,
2108 Brett Cannon. 2261 Brett Cannon.
2109 2262
2110 .. _issue 80: https://bitbucket.org/ned/coveragepy/issues/80/is-there-a-duck-typing-way-to-know-we-cant 2263 .. _issue 80: https://github.com/nedbat/coveragepy/issues/80
2111 .. _issue 93: https://bitbucket.org/ned/coveragepy/issues/93/copying-a-mock-object-breaks-coverage 2264 .. _issue 93: https://github.com/nedbat/coveragepy/issues/93
2112 .. _issue 95: https://bitbucket.org/ned/coveragepy/issues/95/run-subcommand-should-take-a-module-name 2265 .. _issue 95: https://github.com/nedbat/coveragepy/issues/95
2113 .. _issue 104: https://bitbucket.org/ned/coveragepy/issues/104/explicitly-close-files 2266 .. _issue 104: https://github.com/nedbat/coveragepy/issues/104
2114 .. _issue 107: https://bitbucket.org/ned/coveragepy/issues/107/codeparser-not-opening-source-files-with 2267 .. _issue 107: https://github.com/nedbat/coveragepy/issues/107
2115 .. _issue 115: https://bitbucket.org/ned/coveragepy/issues/115/fail-gracefully-when-reporting-on-file 2268 .. _issue 115: https://github.com/nedbat/coveragepy/issues/115
2116 .. _issue 121: https://bitbucket.org/ned/coveragepy/issues/121/filename-patterns-are-applied-stupidly 2269 .. _issue 121: https://github.com/nedbat/coveragepy/issues/121
2117 .. _issue 123: https://bitbucket.org/ned/coveragepy/issues/123/pyeval_settrace-used-in-way-that-breaks 2270 .. _issue 123: https://github.com/nedbat/coveragepy/issues/123
2118 .. _issue 125: https://bitbucket.org/ned/coveragepy/issues/125/coverage-removes-decoratortoolss-tracing 2271 .. _issue 125: https://github.com/nedbat/coveragepy/issues/125
2119 2272
2120 2273
2121 .. _changes_34: 2274 .. _changes_34:
2122 2275
2123 Version 3.4 --- 2010-09-19 2276 Version 3.4 --- 2010-09-19
2126 - The XML report is now sorted by package name, fixing `issue 88`_. 2279 - The XML report is now sorted by package name, fixing `issue 88`_.
2127 2280
2128 - Programs that exited with ``sys.exit()`` with no argument weren't handled 2281 - Programs that exited with ``sys.exit()`` with no argument weren't handled
2129 properly, producing a coverage.py stack trace. That is now fixed. 2282 properly, producing a coverage.py stack trace. That is now fixed.
2130 2283
2131 .. _issue 88: https://bitbucket.org/ned/coveragepy/issues/88/xml-report-lists-packages-in-random-order 2284 .. _issue 88: https://github.com/nedbat/coveragepy/issues/88
2132 2285
2133 2286
2134 Version 3.4b2 --- 2010-09-06 2287 Version 3.4b2 --- 2010-09-06
2135 ---------------------------- 2288 ----------------------------
2136 2289
2151 2304
2152 - Threads derived from ``threading.Thread`` with an overridden `run` method 2305 - Threads derived from ``threading.Thread`` with an overridden `run` method
2153 would report no coverage for the `run` method. This is now fixed, closing 2306 would report no coverage for the `run` method. This is now fixed, closing
2154 `issue 85`_. 2307 `issue 85`_.
2155 2308
2156 .. _issue 16: https://bitbucket.org/ned/coveragepy/issues/16/allow-configuration-of-accuracy-of-percentage-totals 2309 .. _issue 16: https://github.com/nedbat/coveragepy/issues/16
2157 .. _issue 41: https://bitbucket.org/ned/coveragepy/issues/41/report-says-100-when-it-isnt-quite-there 2310 .. _issue 41: https://github.com/nedbat/coveragepy/issues/41
2158 .. _issue 65: https://bitbucket.org/ned/coveragepy/issues/65/branch-option-not-reported-in-cobertura 2311 .. _issue 65: https://github.com/nedbat/coveragepy/issues/65
2159 .. _issue 70: https://bitbucket.org/ned/coveragepy/issues/70/text-report-and-html-report-disagree-on-coverage 2312 .. _issue 70: https://github.com/nedbat/coveragepy/issues/70
2160 .. _issue 81: https://bitbucket.org/ned/coveragepy/issues/81/xml-report-does-not-have-condition-coverage-attribute-for-lines-with-a 2313 .. _issue 81: https://github.com/nedbat/coveragepy/issues/81
2161 .. _issue 85: https://bitbucket.org/ned/coveragepy/issues/85/threadrun-isnt-measured 2314 .. _issue 85: https://github.com/nedbat/coveragepy/issues/85
2162 2315
2163 2316
2164 Version 3.4b1 --- 2010-08-21 2317 Version 3.4b1 --- 2010-08-21
2165 ---------------------------- 2318 ----------------------------
2166 2319
2232 classes is now properly analyzed. See `issue 62`_. 2385 classes is now properly analyzed. See `issue 62`_.
2233 2386
2234 - Asking for an HTML report with no files now shows a nice error message rather 2387 - Asking for an HTML report with no files now shows a nice error message rather
2235 than a cryptic failure ('int' object is unsubscriptable). Fixes `issue 59`_. 2388 than a cryptic failure ('int' object is unsubscriptable). Fixes `issue 59`_.
2236 2389
2237 .. _issue 1: https://bitbucket.org/ned/coveragepy/issues/1/empty-__init__py-files-are-reported-as-1-executable 2390 .. _issue 1: https://github.com/nedbat/coveragepy/issues/1
2238 .. _issue 34: https://bitbucket.org/ned/coveragepy/issues/34/enhanced-omit-globbing-handling 2391 .. _issue 34: https://github.com/nedbat/coveragepy/issues/34
2239 .. _issue 36: https://bitbucket.org/ned/coveragepy/issues/36/provide-regex-style-omit 2392 .. _issue 36: https://github.com/nedbat/coveragepy/issues/36
2240 .. _issue 46: https://bitbucket.org/ned/coveragepy/issues/46 2393 .. _issue 46: https://github.com/nedbat/coveragepy/issues/46
2241 .. _issue 53: https://bitbucket.org/ned/coveragepy/issues/53 2394 .. _issue 53: https://github.com/nedbat/coveragepy/issues/53
2242 .. _issue 52: https://bitbucket.org/ned/coveragepy/issues/52/doctesttestfile-confuses-source-detection 2395 .. _issue 52: https://github.com/nedbat/coveragepy/issues/52
2243 .. _issue 56: https://bitbucket.org/ned/coveragepy/issues/56 2396 .. _issue 56: https://github.com/nedbat/coveragepy/issues/56
2244 .. _issue 61: https://bitbucket.org/ned/coveragepy/issues/61/annotate-i-doesnt-work 2397 .. _issue 61: https://github.com/nedbat/coveragepy/issues/61
2245 .. _issue 62: https://bitbucket.org/ned/coveragepy/issues/62 2398 .. _issue 62: https://github.com/nedbat/coveragepy/issues/62
2246 .. _issue 59: https://bitbucket.org/ned/coveragepy/issues/59/html-report-fails-with-int-object-is 2399 .. _issue 59: https://github.com/nedbat/coveragepy/issues/59
2247 .. _issue 82: https://bitbucket.org/ned/coveragepy/issues/82/tokenerror-when-generating-html-report 2400 .. _issue 82: https://github.com/nedbat/coveragepy/issues/82
2248 2401
2249 2402
2250 .. _changes_331: 2403 .. _changes_331:
2251 2404
2252 Version 3.3.1 --- 2010-03-06 2405 Version 3.3.1 --- 2010-03-06
2256 not, fixing `issue 49`_. 2409 not, fixing `issue 49`_.
2257 2410
2258 - When running your code with "coverage run", if you call `sys.exit()`, 2411 - When running your code with "coverage run", if you call `sys.exit()`,
2259 coverage.py will exit with that status code, fixing `issue 50`_. 2412 coverage.py will exit with that status code, fixing `issue 50`_.
2260 2413
2261 .. _issue 49: https://bitbucket.org/ned/coveragepy/issues/49 2414 .. _issue 49: https://github.com/nedbat/coveragepy/issues/49
2262 .. _issue 50: https://bitbucket.org/ned/coveragepy/issues/50 2415 .. _issue 50: https://github.com/nedbat/coveragepy/issues/50
2263 2416
2264 2417
2265 .. _changes_33: 2418 .. _changes_33:
2266 2419
2267 Version 3.3 --- 2010-02-24 2420 Version 3.3 --- 2010-02-24
2296 - Python source files that don't end with a newline can now be executed, fixing 2449 - Python source files that don't end with a newline can now be executed, fixing
2297 `issue 47`_. 2450 `issue 47`_.
2298 2451
2299 - Added an AUTHORS.txt file. 2452 - Added an AUTHORS.txt file.
2300 2453
2301 .. _issue 39: https://bitbucket.org/ned/coveragepy/issues/39 2454 .. _issue 39: https://github.com/nedbat/coveragepy/issues/39
2302 .. _issue 40: https://bitbucket.org/ned/coveragepy/issues/40 2455 .. _issue 40: https://github.com/nedbat/coveragepy/issues/40
2303 .. _issue 47: https://bitbucket.org/ned/coveragepy/issues/47 2456 .. _issue 47: https://github.com/nedbat/coveragepy/issues/47
2304 2457
2305 2458
2306 .. _changes_32: 2459 .. _changes_32:
2307 2460
2308 Version 3.2 --- 2009-12-05 2461 Version 3.2 --- 2009-12-05
2356 source with tabs: `issue 30`_ and `issue 31`_. 2509 source with tabs: `issue 30`_ and `issue 31`_.
2357 2510
2358 - The --omit option now works much better than before, fixing `issue 14`_ and 2511 - The --omit option now works much better than before, fixing `issue 14`_ and
2359 `issue 33`_. Thanks, Danek Duvall. 2512 `issue 33`_. Thanks, Danek Duvall.
2360 2513
2361 .. _issue 14: https://bitbucket.org/ned/coveragepy/issues/14 2514 .. _issue 14: https://github.com/nedbat/coveragepy/issues/14
2362 .. _issue 30: https://bitbucket.org/ned/coveragepy/issues/30 2515 .. _issue 30: https://github.com/nedbat/coveragepy/issues/30
2363 .. _issue 31: https://bitbucket.org/ned/coveragepy/issues/31 2516 .. _issue 31: https://github.com/nedbat/coveragepy/issues/31
2364 .. _issue 32: https://bitbucket.org/ned/coveragepy/issues/32 2517 .. _issue 32: https://github.com/nedbat/coveragepy/issues/32
2365 .. _issue 33: https://bitbucket.org/ned/coveragepy/issues/33 2518 .. _issue 33: https://github.com/nedbat/coveragepy/issues/33
2366 .. _issue 35: https://bitbucket.org/ned/coveragepy/issues/35 2519 .. _issue 35: https://github.com/nedbat/coveragepy/issues/35
2367 2520
2368 2521
2369 Version 3.2b1 --- 2009-11-10 2522 Version 3.2b1 --- 2009-11-10
2370 ---------------------------- 2523 ----------------------------
2371 2524
2376 - The tracer code has changed, it's a few percent faster. 2529 - The tracer code has changed, it's a few percent faster.
2377 2530
2378 - Some exceptions reported by the command line interface have been cleaned up 2531 - Some exceptions reported by the command line interface have been cleaned up
2379 so that tracebacks inside coverage.py aren't shown. Fixes `issue 23`_. 2532 so that tracebacks inside coverage.py aren't shown. Fixes `issue 23`_.
2380 2533
2381 .. _issue 23: https://bitbucket.org/ned/coveragepy/issues/23 2534 .. _issue 23: https://github.com/nedbat/coveragepy/issues/23
2382 2535
2383 2536
2384 .. _changes_31: 2537 .. _changes_31:
2385 2538
2386 Version 3.1 --- 2009-10-04 2539 Version 3.1 --- 2009-10-04
2387 -------------------------- 2540 --------------------------
2388 2541
2389 - Source code can now be read from eggs. Thanks, Ross Lawley. Fixes 2542 - Source code can now be read from eggs. Thanks, Ross Lawley. Fixes
2390 `issue 25`_. 2543 `issue 25`_.
2391 2544
2392 .. _issue 25: https://bitbucket.org/ned/coveragepy/issues/25 2545 .. _issue 25: https://github.com/nedbat/coveragepy/issues/25
2393 2546
2394 2547
2395 Version 3.1b1 --- 2009-09-27 2548 Version 3.1b1 --- 2009-09-27
2396 ---------------------------- 2549 ----------------------------
2397 2550
2417 directory where execution started. Fixed `issue 24`_. 2570 directory where execution started. Fixed `issue 24`_.
2418 2571
2419 - Added a "coverage debug" command for getting diagnostic information about the 2572 - Added a "coverage debug" command for getting diagnostic information about the
2420 coverage.py installation. 2573 coverage.py installation.
2421 2574
2422 .. _issue 11: https://bitbucket.org/ned/coveragepy/issues/11 2575 .. _issue 11: https://github.com/nedbat/coveragepy/issues/11
2423 .. _issue 12: https://bitbucket.org/ned/coveragepy/issues/12 2576 .. _issue 12: https://github.com/nedbat/coveragepy/issues/12
2424 .. _issue 13: https://bitbucket.org/ned/coveragepy/issues/13 2577 .. _issue 13: https://github.com/nedbat/coveragepy/issues/13
2425 .. _issue 24: https://bitbucket.org/ned/coveragepy/issues/24 2578 .. _issue 24: https://github.com/nedbat/coveragepy/issues/24
2426 2579
2427 2580
2428 .. _changes_301: 2581 .. _changes_301:
2429 2582
2430 Version 3.0.1 --- 2009-07-07 2583 Version 3.0.1 --- 2009-07-07
2445 2598
2446 - When running source files, coverage.py now opens them in universal newline 2599 - When running source files, coverage.py now opens them in universal newline
2447 mode just like Python does. This lets it run Windows files on Mac, for 2600 mode just like Python does. This lets it run Windows files on Mac, for
2448 example. 2601 example.
2449 2602
2450 .. _issue 9: https://bitbucket.org/ned/coveragepy/issues/9 2603 .. _issue 9: https://github.com/nedbat/coveragepy/issues/9
2451 .. _issue 10: https://bitbucket.org/ned/coveragepy/issues/10 2604 .. _issue 10: https://github.com/nedbat/coveragepy/issues/10
2452 .. _issue 8: https://bitbucket.org/ned/coveragepy/issues/8 2605 .. _issue 8: https://github.com/nedbat/coveragepy/issues/8
2453 2606
2454 2607
2455 .. _changes_30: 2608 .. _changes_30:
2456 2609
2457 Version 3.0 --- 2009-06-13 2610 Version 3.0 --- 2009-06-13
2463 - Tabs are now properly converted in HTML reports. Previously indentation was 2616 - Tabs are now properly converted in HTML reports. Previously indentation was
2464 lost. Fixed `issue 6`_. 2617 lost. Fixed `issue 6`_.
2465 2618
2466 - Nested modules now get a proper flat_rootname. Thanks, Christian Heimes. 2619 - Nested modules now get a proper flat_rootname. Thanks, Christian Heimes.
2467 2620
2468 .. _issue 6: https://bitbucket.org/ned/coveragepy/issues/6 2621 .. _issue 6: https://github.com/nedbat/coveragepy/issues/6
2469 2622
2470 2623
2471 Version 3.0b3 --- 2009-05-16 2624 Version 3.0b3 --- 2009-05-16
2472 ---------------------------- 2625 ----------------------------
2473 2626

eric ide

mercurial