summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-16 15:35:55 (GMT)
committerBrett Cannon <brett@python.org>2012-04-16 15:35:55 (GMT)
commit75babfa886168b5d8f5a9bda25d35c80dff775ed (patch)
tree6a0486bb79c3b18a68dcfd3614f0a91b19f81228
parent7706d9ae4fadc08f400e32737ef2bf5769919bd5 (diff)
downloadcpython-75babfa886168b5d8f5a9bda25d35c80dff775ed.zip
cpython-75babfa886168b5d8f5a9bda25d35c80dff775ed.tar.gz
cpython-75babfa886168b5d8f5a9bda25d35c80dff775ed.tar.bz2
Add an explicit mention of a backwards-incompatible fix that importlib implicitly fixed.
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4293a1c..54da24d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -21,6 +21,9 @@ Core and Builtins
any of the dtoa.c string <-> float conversion functions, on MSVC builds of
Python. This fixes issues when embedding Python in a Delphi app.
+- __import__() now matches PEP 328 and documentation by defaulting 'index' to 0
+ instead of -1 and removing support for negative values.
+
- Issue #2377: Make importlib the implementation of __import__().
- Issue #1559549: ImportError now has 'name' and 'path' attributes that are set