summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/windows_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: Truncate to 80 columnsVictor Stinner2015-01-081-3/+4
|
* asyncio: sync with TulipVictor Stinner2014-12-181-0/+7
| | | | | | | | | | | | | | | | * Fix a race condition in BaseSubprocessTransport._try_finish(). If the process exited before the _post_init() method was called, scheduling the call to _call_connection_lost() with call_soon() is wrong: connection_made() must be called before connection_lost(). Reuse the BaseSubprocessTransport._call() method to schedule the call to _call_connection_lost() to ensure that connection_made() and connection_lost() are called in the correct order. * Add repr(PipeHandle) * Fix typo
* Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows ifVictor Stinner2014-10-141-41/+43
| | | | | | | | | available Since Python 3.5, socket.socketpair() is now also available on Windows. Make csock blocking before calling the accept() method, and fix also a typo in an error message.
* Issue #21119: asyncio: Make sure that socketpair() close sockets on errorVictor Stinner2014-06-031-15/+17
| | | | Close the listening socket if sock.bind() raises an exception.
* asyncio: Synchronize with TulipVictor Stinner2014-03-051-2/+15
| | | | | | | | | | | | * Issue #159: Fix windows_utils.socketpair() - Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because "localhost" may be a different IP address - Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and proto=0) are supported * Reject add/remove reader/writer when event loop is closed. * Fix ResourceWarning warnings
* asyncio: Various style nits.Guido van Rossum2013-11-011-10/+10
|
* asyncio: Add support for running subprocesses on Windows with the IOCP event ↵Guido van Rossum2013-10-301-4/+15
| | | | loop (Richard Oudkerk).
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+181