[Pythonmac-SIG] Python 2.2a2 Breaks Tkinter in XDarwin--My Fix

Jack Jansen jack@oratrix.nl
Thu, 23 Aug 2001 15:19:35 +0200


The fix is easy (and I've put it in the CVS repository
already). Replace the line
	if _MacOS:
by
	if _MacOS and hasattr(MacOS, 'SchedParams'):

The call is only needed when using Tkinter from MacPython, but OSX
unix-Python now also has the MacOS module.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm