summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2008-07-13 14:52:36 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2008-07-13 14:52:36 (GMT)
commitb028f509119d5ea7dd85d7f38df366ccc9d7bdb4 (patch)
tree0cef7d8095d49b149d12c1ce2d2044e4561c94e7 /Misc
parent12c8660cc6f299464d61b3edd57a73dc6bcbffd7 (diff)
downloadcpython-b028f509119d5ea7dd85d7f38df366ccc9d7bdb4.zip
cpython-b028f509119d5ea7dd85d7f38df366ccc9d7bdb4.tar.gz
cpython-b028f509119d5ea7dd85d7f38df366ccc9d7bdb4.tar.bz2
Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0cee84e..e29a9b0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,12 @@ What's New in Python 2.6 beta 2?
Core and Builtins
-----------------
+- Issue #3221: Issue a RuntimeWarning instead of raising SystemError if
+ the parent module cannot be found while performing an absolute import.
+ This means that an incorrectly defined __package__ attribute will
+ now only prevent relative imports in that module rather than causing
+ all imports from that module to fail.
+
- Issue #2517: Allow unicode messages in Exceptions again by correctly
bypassing the instance dictionary when looking up __unicode__ on
new-style classes.