]> granicus.if.org Git - python/commit
Issue #21119: asyncio: Make sure that socketpair() close sockets on error
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Jun 2014 22:12:28 +0000 (00:12 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Jun 2014 22:12:28 +0000 (00:12 +0200)
commita9fa2664ab98a1077e5b16d66c17aea0cd631ed7
tree6a7b983b052c0faeaccd9dedc2d644959aadd6fc
parent223a624158254e2c907116a756f6ffe63c49fb7a
Issue #21119: asyncio: Make sure that socketpair() close sockets on error

Close the listening socket if sock.bind() raises an exception.
Lib/asyncio/windows_utils.py
Lib/test/test_asyncio/test_windows_utils.py