[Idle-dev] Anticipated changes for Mac OS X
Tony Lownds
tony@lownds.com
Fri, 29 Nov 2002 11:17:17 -0800
Hi idle-devers,
Another applet mechanism has come up on Mac OS X, and it requires
more changes to the way the subprocess for GRPC is launched. I've
posted a patch and assigned it to myself, if you care about that area
of the code, please check it out.
One controversial item - I'm adding support for 2.2 back by using
this piece of code in the script to launch idle:
# Make sure True, False, bool() builtins exist.
# - preserves 2.2 compatibility - 2.2.1 includes bool, 2.2 does not.
# - important for Mac OS X because it ships python 2.2
try:
True
except NameError:
__builtins__.True = 1
__builtins__.False = 0
from operator import truth
__builtins__.bool = truth
p.s. when is the big merge-with-python happening?
-Tony