[Python-ideas] asyncore: included batteries don't fit
Terry Reedy
tjreedy at udel.edu
Fri Oct 12 02:29:05 CEST 2012
On 10/11/2012 5:18 PM, Guido van Rossum wrote:
> Anyway, it would be good to have input from representatives from Wx,
> Qt, Twisted and Tornado to ensure that the *functionality* required is
> all there (never mind the exact signatures of the APIs needed to
> provide all that functionality).
And of course tk/tkinter (tho perhaps we can represent that). It occurs
to me that while i/o (file/socket) events can be added to a user
(mouse/key) event loop, and I suspect that some tk/tkinter apps do so,
it might be sensible to keep the two separate. A master loop could tell
the user-event loop to handle all user events and then the i/o loop to
handle one i/o event. This all depends on the relative speed of the
handler code.
--
Terry Jan Reedy
More information about the Python-ideas
mailing list