Running the following on Apple-installed Python 2.3.5 on OS 10.4.3:
~ has$ pythonw
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import MacOS
>>> MacOS.WMAvailable()
True
a Python.app process starts to launch as expected; however its icon
remains bouncing indefinitely in the Dock. Additional prodding, e.g.:
>>> import Carbon.Evt
>>> Carbon.Evt.WaitNextEvent(0,0)
(0, (0, 0, 1141622, (751, 225), 128))
causes it to finish launching as expected (Dock icon stops bouncing,
small black triangle appears next to it). Third-party has confirmed this
problem.
Might be a problem with WMAvailable(), might be a problem in
Python.app. Don't know enough Carbon to determine this myself.
|