[Pythonmac-SIG] Porting assistance.
Fri, 13 Oct 2000 10:20:59 +0200
> With the Mac, I seem to be in trouble with conflicting eventloops -- at
> least my select based eventloop and some other eventloop(s?). From what
> I can figure out (after doing the dumb thing of a "straight" port of the
> unix version including the select() based console), select() does get
> the io read-ready on stdin and appropritely writes to stdout. However,
> after that, things go blank (literally) on me leading me to believe that
> there is some other eventhandler that I should be calling (or
> registering my select() based eventloop with it).
This should all work, if your original program was a pure unix program. The
WaitNextEvent comments you can safely ignore unless your program has a Mac GUI
(using WaitNextEvent) in which case you may have to be aware of the
interaction between WaitNextEvent and select().
Could you elaborate on what you mean by "things go blank (literally)"? What is
happening, and what had you expected to happen?
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