summaryrefslogtreecommitdiff
path: root/CHANGES.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-13 07:32:24 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-13 07:32:24 -0400
commite45ea8f7c49e3dbbadc9a7ec779703fc57adce78 (patch)
tree4008f45a1fe7d4dddfea40e679b82215bf796a84 /CHANGES.rst
parent51b98c60a34531113827aa6e8cf79cd70711f980 (diff)
downloadpython-coveragepy-git-e45ea8f7c49e3dbbadc9a7ec779703fc57adce78.tar.gz
Fix explicit imports of __init__. #410
Diffstat (limited to 'CHANGES.rst')
-rw-r--r--CHANGES.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 4329615d..f60e502d 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -29,6 +29,10 @@ Version 4.0.1
to coverage.py using their mock inadvertently. This is now fixed, closing
`issue 416`_.
+- Importing a ``__init__`` module explicitly would lead to an error:
+ ``AttributeError: 'module' object has no attribute '__path__'``, as reported
+ in `issue 410`_. This is now fixed.
+
- Code that uses ``sys.settrace(sys.gettrace())`` used to incur a more than 2x
speed penalty. Now there's no penalty at all. Fixes `issue 397`_.
@@ -40,6 +44,7 @@ Version 4.0.1
.. _issue 137: https://bitbucket.org/ned/coveragepy/issues/137/provide-docs-with-source-distribution
.. _issue 397: https://bitbucket.org/ned/coveragepy/issues/397/stopping-and-resuming-coverage-with
+.. _issue 410: https://bitbucket.org/ned/coveragepy/issues/410/attributeerror-module-object-has-no
.. _issue 415: https://bitbucket.org/ned/coveragepy/issues/415/repeated-coveragedataupdates-cause
.. _issue 416: https://bitbucket.org/ned/coveragepy/issues/416/mocking-ospathexists-causes-failures
.. _issue 418: https://bitbucket.org/ned/coveragepy/issues/418/json-parse-error