[Python-ideas] PEP 3156/Tulip: Extensible EventLoop interface

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 3 22:43:48 CET 2013


> On Sat, Feb 2, 2013 at 8:36 PM, Nick Coghlan <ncoghlan at gmail.com 
> <mailto:ncoghlan at gmail.com>> wrote:
> 
>     The general idea of using factory functions for transport creation,
>     even for the "core transports" (like sockets, SSL and pipes) sounds
>     good to me. I've expressed some concerns previously about the breadth
>     of the event loop class API, and this would go a long way towards
>     alleviating them.

How would this work, exactly? The implementation of these
functions will depend on the platform and event loop being
used, so there still needs to be some kind of dispatching
mechanism based on the current event loop.

-- 
Greg



More information about the Python-ideas mailing list