]> granicus.if.org Git - python/commit
Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows if
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 14 Oct 2014 20:56:25 +0000 (22:56 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 14 Oct 2014 20:56:25 +0000 (22:56 +0200)
commitf67f4602426be4de9b0d0124cb99ecc5edbd70aa
tree19a28061d79e86f501744ffd91c0398c4f5dc13b
parentee3e56105f666c38e83cf50957b1cac23f5360e0
Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows if
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.
Lib/asyncio/windows_utils.py
Lib/test/test_asyncio/test_windows_utils.py