summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2015-08-12 01:01:31 (GMT)
committerBrett Cannon <brett@python.org>2015-08-12 01:01:31 (GMT)
commit3008bc0f4abb3f71433b1fcd97cc801da0a866cc (patch)
tree2eefd4a3a25a4e0234225452541254715ada79e2 /Misc/NEWS
parentbb8a52a8d37bd8e273eddd050f91e7d423bff3c9 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5becbfd..e7b701f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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