[Patches] [ python-Patches-851459 ] Argument passing from
/usr/bin/idle2.3 to idle.py
SourceForge.net
noreply at sourceforge.net
Wed Jan 5 16:56:52 CET 2005
Patches item #851459, was opened at 2003-11-30 06:27
Message generated for change (Comment added) made by jafo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=851459&group_id=5470
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Humberto Diógenes (virtualspirit)
Assigned to: Sean Reifschneider (jafo)
Summary: Argument passing from /usr/bin/idle2.3 to idle.py
Initial Comment:
/usr/bin/idle2.3 wrapper (from the 2.3.2-1pydotorg rpm) ignores
command-line arguments when calling idle.py. Fixed only by adding
"$*" to the script.
----------------------------------------------------------------------
>Comment By: Sean Reifschneider (jafo)
Date: 2005-01-05 15:56
Message:
Logged In: YES
user_id=81797
mwh helped me get the right check-out of the maintenance
releases. I've committed these changes to the 2.3 and 2.4
maintenance branches.
----------------------------------------------------------------------
Comment By: Sean Reifschneider (jafo)
Date: 2005-01-04 04:05
Message:
Logged In: YES
user_id=81797
I've tried checking out python23-maint, but the resulting
tree I'm getting has the latest .spec file. I can make the
changes to 2.3, but I need some help on how to get a tree I
can check in against, or if I should submit patches to the
tracker.
----------------------------------------------------------------------
Comment By: Kurt B. Kaiser (kbk)
Date: 2004-12-22 18:15
Message:
Logged In: YES
user_id=149084
This really ought to get into release24-maint and probably
release23-maint if you think anyone will ever build an rpm
from 2.3.5 (which is due out soon).
----------------------------------------------------------------------
Comment By: Sean Reifschneider (jafo)
Date: 2004-12-21 02:25
Message:
Logged In: YES
user_id=81797
I went ahead and turned this into Python code and called
"execvp", passing the command arguments onto the idle call.
This way there are no worries about how the shell handles
$* expansion. The current CVS version results in something
looking like:
#!/usr/bin/env python2.4
import os, sys
os.execvp("/usr/bin/python2.4", ["/usr/bin/python2.4",
"/usr/lib/python2.4/idlelib/idle.py"] + sys.argv[1:])
print "Failed to exec Idle"
sys.exit(1)
(assuming default build settings)
----------------------------------------------------------------------
Comment By: Kurt B. Kaiser (kbk)
Date: 2004-12-20 20:53
Message:
Logged In: YES
user_id=149084
Appears to be an issue with the Tools section of
..../Misc/RPM/python-2.4.spec
Backport to release23-maint
Assigning to Sean Reifschneider
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=851459&group_id=5470
More information about the Patches
mailing list