From: Victor Stinner Date: Tue, 3 Jun 2014 22:13:31 +0000 (+0200) Subject: Merge 3.4: Issue #21119, fix ResourceWarning in asyncio X-Git-Tag: v3.5.0a1~1526 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b470f0dd2a4a539bb8ba44c818f685fb9a260d38;p=python Merge 3.4: Issue #21119, fix ResourceWarning in asyncio * Make sure that socketpair() close sockets on error. Close the listening socket if sock.bind() raises an exception. * asyncio now closes sockets on errors. Fix ResourceWarning: create_connection(), create_datagram_endpoint() and create_unix_server() methods of event loop now close the newly created socket on error. --- b470f0dd2a4a539bb8ba44c818f685fb9a260d38