[Idle-dev] [ idlefork-Patches-645797 ] subprocess code changes for Mac OS X

noreply@sourceforge.net noreply@sourceforge.net
Thu, 19 Dec 2002 20:41:49 -0800


Patches item #645797, was opened at 2002-11-29 18:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=645797&group_id=9579

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Tony Lownds (tonylownds)
Assigned to: Tony Lownds (tonylownds)
Summary: subprocess code changes for Mac OS X

Initial Comment:
Another applet mechanism has been developed for Python
on Mac OS X and trying to use the -c
"__import__('run').main()" trick is just not working.

This patch adds a new file which should be used as the
startup file for Mac OS X. That startup file
understands a -p option, which when seen will start
run.main()

When running as an applet, this seems like the best
approach. I want to try a few more cases before
commiting this code, and also give any objections a
chance to surface.


----------------------------------------------------------------------

>Comment By: Tony Lownds (tonylownds)
Date: 2002-12-20 04:41

Message:
Logged In: YES 
user_id=24100

Code checked in.

----------------------------------------------------------------------

Comment By: Tony Lownds (tonylownds)
Date: 2002-11-30 18:30

Message:
Logged In: YES 
user_id=24100

Font filtering code removed from the patch, you are right,
it should be considered seperately.


----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2002-11-30 01:45

Message:
Logged In: YES 
user_id=149084

Since the processing of the Mac subprocess arg list is getting lengthy, it 
makes sense to factor it.  I'd suggest a verb, for example, 
build_subprocess_arglist().

The patch contains two ideas and the font filter should be a separate 
check-in.  It's a reasonable start but it would be nice if there was a 
button on the config dialog which would set this option.  Default could 
be Enabled. That way in the 'rare' case the user might find his 'problem' 
faster.  Even better, default it off except for Mac :)

The Python project likes context diffs!

I'm making changes to PyShell.py but they shouldn't interfere with yours.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309579&aid=645797&group_id=9579