From: Nick Coghlan Date: Fri, 2 Jul 2010 16:01:53 +0000 (+0000) Subject: Issue 8202 actually caused an unintended behavioural change and was reverted in 2... X-Git-Tag: v2.7~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=601ec58f3e2b81184aab102f4eb21adb1c79a041;p=python Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New --- diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index 72aa7e6e3b..43a01247d9 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -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`.) - .. ======================================================================