]> granicus.if.org Git - python/commit
asyncio: use directly socket.socketpair() (#4597)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Nov 2017 10:15:26 +0000 (11:15 +0100)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2017 10:15:26 +0000 (11:15 +0100)
commita10dc3efcbba8aa7cc7d1a017f8b22fc4fa8e87c
tree6ed634f185e7920ed25ae56e537e0202b675f7c9
parent92f9339a58a613a56683510499509d1b702921a8
asyncio: use directly socket.socketpair() (#4597)

Since Python 3.5, socket.socketpair() is also available on Windows,
and so can be used directly, rather than using
asyncio.windows_utils.socketpair().
Lib/asyncio/proactor_events.py
Lib/asyncio/selector_events.py
Lib/asyncio/unix_events.py
Lib/asyncio/windows_events.py
Lib/test/test_asyncio/test_proactor_events.py
Lib/test/test_asyncio/test_selector_events.py
Lib/test/test_asyncio/test_windows_events.py