[Python-bugs-list] [ python-Bugs-688907 ] Applet support is broken

SourceForge.net noreply@sourceforge.net
Tue, 25 Feb 2003 00:54:15 -0800


Bugs item #688907, was opened at 2003-02-18 19:40
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=688907&group_id=5470

Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Just van Rossum (jvr)
Summary: Applet support is broken

Initial Comment:
Applet support is broken in two ways:
- there is no sys.argv emulation anymore, and applets always see the -psnXXXX argument when started from the finder.
- when an applet is started from the commandline it is non-functional (no window manager connection).

Also, the building of the Idle applet doesn't work due to name conflicts.

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

>Comment By: Just van Rossum (jvr)
Date: 2003-02-25 09:54

Message:
Logged In: YES 
user_id=92689

I have a fix ready, but as I wrote in private, this will cause sys.executable to be different (ie. it will be the same as CFBundleExecutable). This apparently breaks your stuff, as well as bundlebuilder itself if it is run from a bundle it created itself...

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

Comment By: Jack Jansen (jackjansen)
Date: 2003-02-24 17:40

Message:
Logged In: YES 
user_id=45365

Building the Idle applet has been fixed (Mac/OSX/Makefile rev 1.36).

So now the python-based applet main program is the only thing that needs to be done.

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

Comment By: Jack Jansen (jackjansen)
Date: 2003-02-19 00:48

Message:
Logged In: YES 
user_id=45365

Just thinks he can fix the commandline problem with a Python script, so assigning to him. Will you please also update Misc/NEWS if you do?

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

Comment By: Jack Jansen (jackjansen)
Date: 2003-02-19 00:44

Message:
Logged In: YES 
user_id=45365

sys.argv emulation works again, and that's the main part of this bug. A note has been added to NEWS that starting from the finder is broken in 2.3a2.

Building of Idle I cannot test right now.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=688907&group_id=5470