summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-07-12 15:22:26 (GMT)
committerBrett Cannon <brett@python.org>2013-07-12 15:22:26 (GMT)
commita79e4fb38d6e598be56944ead5753e65ad561bab (patch)
treef3a0f201b80165802e325096d8535c5b9eb0083b /Misc
parentf0cb69274c735ae5d178acf4bfe7e314b046eb57 (diff)
downloadcpython-a79e4fb38d6e598be56944ead5753e65ad561bab.zip
cpython-a79e4fb38d6e598be56944ead5753e65ad561bab.tar.gz
cpython-a79e4fb38d6e598be56944ead5753e65ad561bab.tar.bz2
Issue #18342: Use the repr of a module name for ``from ... import
...`` when an ImportError occurs. Other cases had already been switched over to using the repr. Thanks to Tomasz Maćkowiak for the patch.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index abfa659..ef5fb5c 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -786,6 +786,7 @@ Andrew I MacIntyre
Tim MacKenzie
Nick Maclaren
Don MacMillen
+Tomasz Maćkowiak
Steve Majewski
Grzegorz Makarewicz
David Malcolm
diff --git a/Misc/NEWS b/Misc/NEWS
index 751433f..b65498a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.4.0 Alpha 1?
Core and Builtins
-----------------
+- Issue #18342: Use the repr of a module name when an import fails when using
+ ``from ... import ...``.
+
- Issue #17872: Fix a segfault in marshal.load() when input stream returns
more bytes than requested.