summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-02-16 22:47:48 (GMT)
committerBrett Cannon <brett@python.org>2012-02-16 22:47:48 (GMT)
commit3b1a06c1eaec92242683b0a3460377e03cb6c214 (patch)
treea71d27d9d427a4061eefff835da8d9ae5890b0ae /Misc/NEWS
parent7fab676e87302bb75a132ba0c1f7220e4702c16d (diff)
downloadcpython-3b1a06c1eaec92242683b0a3460377e03cb6c214.zip
cpython-3b1a06c1eaec92242683b0a3460377e03cb6c214.tar.gz
cpython-3b1a06c1eaec92242683b0a3460377e03cb6c214.tar.bz2
importlib.__import__() now raises ValueError when level < 0.
This is to bring it more in line with what PEP 328 set out to do with removing ambiguous absolute/relative import semantics.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a1810ae..786417f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -466,6 +466,9 @@ Core and Builtins
Library
-------
+- Do away with ambiguous level values (as suggested by PEP 328) in
+ importlib.__import__() by raising ValueError when level < 0.
+
- Issue #2489: pty.spawn could consume 100% cpu when it encountered an EOF.
- Issue #13014: Fix a possible reference leak in SSLSocket.getpeercert().