[Python-ideas] asyncore: included batteries don't fit
Christian Heimes
christian at python.org
Mon Oct 8 14:39:14 CEST 2012
Hi Ben,
Am 08.10.2012 03:41, schrieb Ben Darnell:
> This thread so far has been more about the latter, but the need for
> standardization is more acute for the core event loop. I've written a
> bridge between Tornado and Twisted so libraries written for both event
> loops can coexist, but obviously that wouldn't scale if there were a
> proliferation of event loop implementations out there. I'd be in
> favor of a simple event loop interface in the standard library, with
> reference implementation(s) (select, epoll, kqueue, iocp) and some
> means of configuring the global (or thread-local) singleton.
[...]
Python's standard library doesn't contain in interface to I/O Completion
Ports. I think a common event loop system is a good reason to add IOCP
if somebody is up for the challenge.
Would you prefer an IOCP wrapper in the stdlib or your own version?
Twisted has its own Cython based wrapper, some other libraries use a
libevent-based solution.
Christian
More information about the Python-ideas
mailing list