[Python-Dev] Event loops, PyOS_InputHook, and Tkinter

skip@pobox.com skip at pobox.com
Mon Nov 14 16:00:21 CET 2005

    Ronald> ... except when the GUI you're using doesn't expose (or even
    Ronald> use) a file descriptor that you can use with select. Not all the
    Ronald> world is Linux.

Can you be more specific?  Are you referring to Windows?  I'm not suggesting
you'd be able to use the same exact implementation on Unix and non-Unix
platforms.  You might well have to do different things across different
platforms.  Hopefully it would look the same to the programmer though, both
across platforms and across toolkits.  I can't imagine any of the X-based
widget toolkits on Unix systems would use anything other than select() on a
socket at the bottom.


More information about the Python-Dev mailing list