Issue 765603: IDE has dirty sys.argv (original) (raw)

Issue765603

Created on 2003-07-03 21:08 by jackjansen, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Messages (2)
msg16848 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2003-07-03 21:08
The IDE has a dirty sys.argv, basically what the Finder gave it: >>> import sys >>> sys.argv ['/Applications/MacPython-2.3/PythonIDE.app/Contents/ Resources/PythonIDE.py', '-psn_0_4456449'] >>> This is unexpected to Python users and will make things that expect commandline argument (such as "import test.autotest") fail. The -psn option definitely has to go. Whether we keep sys.argv[0] I'm not sure. Assign back to me if you don't have time.
msg16849 - (view) Author: Jack Jansen (jackjansen) * (Python committer) Date: 2004-07-16 09:20
Logged In: YES user_id=45365 This appears to have been fixed at some point.
History
Date User Action Args
2022-04-10 16:09:41 admin set github: 38784
2003-07-03 21:08:03 jackjansen create