summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2017-03-12 11:34:32 (GMT)
committerGitHub <noreply@github.com>2017-03-12 11:34:32 (GMT)
commit27abb0e533a6f7ad195bd56b064c32164296a56e (patch)
tree73ce106920f22f19386cedae4cc269c697193755
parentf6595983e08fe20cf06a2535d74d912c6dbb044f (diff)
downloadcpython-27abb0e533a6f7ad195bd56b064c32164296a56e.zip
cpython-27abb0e533a6f7ad195bd56b064c32164296a56e.tar.gz
cpython-27abb0e533a6f7ad195bd56b064c32164296a56e.tar.bz2
bpo-29723: Add missing NEWS entry (#638)
-rw-r--r--Misc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 03ca0dc..d80674c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,14 @@ What's New in Python 3.7.0 alpha 1?
Core and Builtins
-----------------
+- bpo-29723: The ``sys.path[0]`` initialization change for bpo-29139 caused a
+ regression by revealing an inconsistency in how sys.path is initialized when
+ executing ``__main__`` from a zipfile, directory, or other import location.
+ The interpreter now consistently avoids ever adding the import location's
+ parent directory to ``sys.path``, and ensures no other ``sys.path`` entries
+ are inadvertently modified when inserting the import location named on the
+ command line.
+
- bpo-29568: Escaped percent "%%" in the format string for classic string
formatting no longer allows any characters between two percents.