Kaydet (Commit) 601ec58f authored tarafından Nick Coghlan's avatar Nick Coghlan

Issue 8202 actually caused an unintended behavioural change and was reverted in…

Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New
üst 8c16c5ce
......@@ -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`.)
.. ======================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment