summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-23 16:59:08 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-23 16:59:08 (GMT)
commita1fe1f8dcfd43059c38b1493ec67af06fd2afe7f (patch)
treee6998aa6681a95508a4f4f6dafd9aef6f9d43ec3 /Misc
parent92c144ee72d4ab488ec0a9d50cb78dc739c68069 (diff)
parent53ffdc53bf0500e402682d1459a9a8d06573664c (diff)
downloadcpython-a1fe1f8dcfd43059c38b1493ec67af06fd2afe7f.zip
cpython-a1fe1f8dcfd43059c38b1493ec67af06fd2afe7f.tar.gz
cpython-a1fe1f8dcfd43059c38b1493ec67af06fd2afe7f.tar.bz2
Merge 3.2: Issue #7732: Don't open a directory as a file anymore while
importing a module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 571db4b..0e18621 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ What's New in Python 3.3 Alpha 1?
Core and Builtins
-----------------
+- Issue #7732: Don't open a directory as a file anymore while importing a
+ module. Ignore the direcotry if its name matchs the module name (e.g.
+ "__init__.py") and raise a ImportError instead.
+
- Issue #13021: Missing decref on an error path. Thanks to Suman Saha for
finding the bug and providing a patch.
@@ -291,7 +295,7 @@ Library
ZLIB_RUNTIME_VERSION, in the zlib module. Patch by Torsten Landschoff.
- Issue #12959: Add collections.ChainMap to collections.__all__.
-
+
- Issue #8933: distutils' PKG-INFO files and packaging's METADATA files will
now correctly report Metadata-Version: 1.1 instead of 1.0 if a Classifier or
Download-URL field is present.