diff options
author | Brett Cannon <brett@python.org> | 2012-04-17 23:05:11 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-17 23:05:11 (GMT) |
commit | 273323cf68e8d55c67622412ecf531e359a54e11 (patch) | |
tree | ddac9de01083d9e7a165c83455493ee31d32ce21 /Misc | |
parent | 09b86d1196427f2028d7e072b106847d8c693815 (diff) | |
download | cpython-273323cf68e8d55c67622412ecf531e359a54e11.zip cpython-273323cf68e8d55c67622412ecf531e359a54e11.tar.gz cpython-273323cf68e8d55c67622412ecf531e359a54e11.tar.bz2 |
Issue #14592: A relative import will raise a KeyError if __package__
or __name__ are not set in globals.
Thanks to Stefan Behnel for the bug report.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ What's New in Python 3.3.0 Alpha 3? Core and Builtins ----------------- +- Issue #14592: Attempting a relative import w/o __package__ or __name__ set in + globals raises a KeyError. + - Issue #10854: The ImportError raised when an extension module on Windows fails to import now uses the new path and name attributes from Issue #1559549. |