[ python-Bugs-765603 ] IDE has dirty sys.argv
SourceForge.net
noreply at sourceforge.net
Fri Jul 16 11:20:08 CEST 2004
Bugs item #765603, was opened at 2003-07-03 23:08
Message generated for change (Comment added) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765603&group_id=5470
Category: Macintosh
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Just van Rossum (jvr)
Summary: IDE has dirty sys.argv
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2004-07-16 11:20
Message:
Logged In: YES
user_id=45365
This appears to have been fixed at some point.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765603&group_id=5470
More information about the Python-bugs-list
mailing list