]> granicus.if.org Git - python/commit
Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module...
authorNick Coghlan <ncoghlan@gmail.com>
Tue, 17 Aug 2010 13:06:11 +0000 (13:06 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Tue, 17 Aug 2010 13:06:11 +0000 (13:06 +0000)
commitd26c18adccf02321592cd58a2dadb0ab68af6906
tree0429b57ab0d5cc0b36ca68af24f382c888cbcf9c
parent46e63805638e0fac20aeae837e1f93b4a675446a
Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory
Doc/using/cmdline.rst
Lib/test/script_helper.py
Lib/test/support.py
Lib/test/test_cmd_line.py
Lib/test/test_cmd_line_script.py
Misc/NEWS
Modules/main.c
Python/sysmodule.c