commit | 1afd4807d9b3df5ba24fa245920d677497025722 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Thu Jun 03 14:33:03 2004 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Thu Jun 03 14:33:03 2004 +0000 |
tree | 527eae63190be6f18affb2b01e74cd56065ca952 | |
parent | 76375745d552e9c0e70f541e8205a0677acbba26 [diff] |
Fix for #932977: MacOSX does not pass the whole pathname in argv[0] for #!-scripts, only the filename part, and this can lead to incorrect initialization of sys.path and sys.executable if there is another python on $PATH before the one used in #!. The fix was picked up from the darwinports crowd, thanks!