]> granicus.if.org Git - python/commitdiff
Issue 8202 actually caused an unintended behavioural change and was reverted in 2...
authorNick Coghlan <ncoghlan@gmail.com>
Fri, 2 Jul 2010 16:01:53 +0000 (16:01 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 2 Jul 2010 16:01:53 +0000 (16:01 +0000)
Doc/whatsnew/2.7.rst

index 72aa7e6e3b1bc5f40018e5e58dda0a4684cdd070..43a01247d9ae7464952deb130f998bf2fb9fa997 100644 (file)
@@ -859,13 +859,6 @@ across operating systems and shells.)
 
   export PYTHONWARNINGS=all,error:::Cookie:0
 
-When running a module using the interpreter's :option:`-m` switch,
-``sys.argv[0]`` will now be set to the string ``'-m'`` while the
-module is being located.  This change is visible to user code while
-executing the :file:`__init__.py` files for any parent packages of
-the module to be executed.  (Suggested by Michael Foord; implemented
-by Nick Coghlan; :issue:`8202`.)
-
 .. ======================================================================