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

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Nov 12 05:33:31 CET 2005


skip at pobox.com wrote:

> This sounds sort of like the situation that existed with sys.exitfunc before
> the creation of the atexit module.  Can't we develop an API similar to that
> so that many different event-loop-wanting packages can play nice together?

I can't see how that would help. If the different hooks know
nothing about each other, there's no way for one to know when
to give up control to the next one in the chain.

Greg


More information about the Python-Dev mailing list