]> granicus.if.org Git - python/commit
Issue #20455: asyncio: write a new write pipe transport class for proactor (on
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 31 Jan 2014 13:18:18 +0000 (14:18 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 31 Jan 2014 13:18:18 +0000 (14:18 +0100)
commitb60e9ca69d80bbc630f443e664c787c2aebcaa20
treea057f4b02627667beca4c11692d9ed8a624c086e
parent61b3c9bacc51a2dbf8baa4f55b812f33b32a2692
Issue #20455: asyncio: write a new write pipe transport class for proactor (on
Windows) instead of using the "duplex" pipe transport. The new class uses a
simpler overlapped read to be notified when the pipe is closed. So the protocol
doesn't need to implement eof_received(): connection_lost() is called instead.
_UnixWritePipeTransport has the same approach.
Lib/asyncio/proactor_events.py