]> granicus.if.org Git - python/commitdiff
Merged revisions 82441 via svnmerge from
authorNick Coghlan <ncoghlan@gmail.com>
Fri, 2 Jul 2010 16:14:05 +0000 (16:14 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 2 Jul 2010 16:14:05 +0000 (16:14 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82441 | nick.coghlan | 2010-07-03 02:01:53 +1000 (Sat, 03 Jul 2010) | 1 line

  Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New
........

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`.)
-
 .. ======================================================================