diff options
author | Brett Cannon <brett@python.org> | 2015-08-12 01:01:31 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-08-12 01:01:31 (GMT) |
commit | 3008bc0f4abb3f71433b1fcd97cc801da0a866cc (patch) | |
tree | 2eefd4a3a25a4e0234225452541254715ada79e2 /Misc/NEWS | |
parent | bb8a52a8d37bd8e273eddd050f91e7d423bff3c9 (diff) | |
download | cpython-3008bc0f4abb3f71433b1fcd97cc801da0a866cc.zip cpython-3008bc0f4abb3f71433b1fcd97cc801da0a866cc.tar.gz cpython-3008bc0f4abb3f71433b1fcd97cc801da0a866cc.tar.bz2 |
Issue #24492: make sure that ``from ... import ...` raises an
ImportError if __name__ is not defined on a package.
Thanks to Armin Rigo for the bug report and diagnosing the cause.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ Release date: 2015-08-09 Core and Builtins ----------------- +- Issue #24492: A "package" lacking a __name__ attribute when trying to perform + a ``from .. import ...`` statement will trigger an ImportError instead of an + AttributeError. + - Issue #24667: Resize odict in all cases that the underlying dict resizes. Library |