[Python-ideas] asyncore: included batteries don't fit

Guido van Rossum guido at python.org
Mon Oct 8 20:40:28 CEST 2012

On Mon, Oct 8, 2012 at 11:36 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Mon, 8 Oct 2012 13:04:00 -0400
> Mike Graham <mikegraham at gmail.com> wrote:
>> On Mon, Oct 8, 2012 at 11:35 AM, Guido van Rossum <guido at python.org> wrote:
>> > On Mon, Oct 8, 2012 at 5:39 AM, Christian Heimes <christian at python.org> wrote:
>> >> 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.
>> >
>> > What's an IOCP?
>> It's the non-crappy select equivalent on Windows.
> Except that it's not exactly an equivalent, it's a whole different
> programming model ;)
> (but I understand what you mean: it allows to do non-blocking I/O on an
> arbitrary number of objects in parallel)

Now I know what it is I think that (a) the abstract reactor design
should support IOCP, and (b) the stdlib should have enabled by default
IOCP when on Windows.

--Guido van Rossum (python.org/~guido)

More information about the Python-ideas mailing list