[Python-checkins] python/dist/src/Mac/Tools/IDE PythonIDE.py,1.12,1.13
jvr@users.sourceforge.net
jvr@users.sourceforge.net
2003年5月02日 17:31:37 -0700
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory sc8-pr-cvs1:/tmp/cvs-serv27839
Modified Files:
PythonIDE.py
Log Message:
Install automatic GIL switcher upon IDE startup.
(Jack: maybe this could/should be done in Framework.py instead, that way
apps don't have to think about it. PackMan springs to mind...)
Index: PythonIDE.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PythonIDE.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** PythonIDE.py 2 May 2003 23:40:29 -0000 1.12
--- PythonIDE.py 3 May 2003 00:31:35 -0000 1.13
***************
*** 13,16 ****
--- 13,23 ----
MacOS.EnableAppswitch(-1)
+ try:
+ import autoGIL
+ except ImportError:
+ pass
+ else:
+ autoGIL.installAutoGIL()
+
from Carbon import Qd, QuickDraw
Qd.SetCursor(Qd.GetCursor(QuickDraw.watchCursor).data)