commit | 4a7e0c858c624eee49b9b1a977c887f5b49d0fd4 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Mar 11 12:34:39 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Mar 11 12:34:39 2010 +0000 |
tree | 7d40b555b47d3d472e6192803f8aaa051bae31cc | |
parent | 637637021a52d083f47dfdd6dd0cc16e31696409 [diff] |
Issue #7774: Set sys.executable to an empty string if argv[0] has been set to an non existent program name and Python is unable to retrieve the real program name. Fix also sysconfig: if sys.executable is an empty string, use the current working directory.