[Pythonmac-SIG] Using a unix Python with a MacPython Lib tree

Just van Rossum just@letterror.com
Thu, 5 Apr 2001 17:47:11 +0200


Steven D. Majewski wrote:

> Last time I tried it, W died on one of the Qd.GetCursor().data 
> calls in Wbase.py -- I'm sure because it's a unix object image
> without any resource fork, so it only worked for the standard
> ones that were in the Carbon framework somewhere. 

Manyally opening the res fork of Widgets.rsrc should help. Or is there something
more fundamentally wrong?

> The other missing bit for running any of the Mac Python GUI scripts
> is that MacOS module isn't ported, so there's no SchedParams() 
> function. 

Hm, the MacOS module doesn't seem that important: how about faking it with some
dummy functions? Especially SchedParams() doesn't seem to make much sense under
OS X.

Just