]> granicus.if.org Git - python/commit
Merge 3.4: Issue #21119, fix ResourceWarning in asyncio
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Jun 2014 22:13:31 +0000 (00:13 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Jun 2014 22:13:31 +0000 (00:13 +0200)
commitb470f0dd2a4a539bb8ba44c818f685fb9a260d38
treec25572fef36655186c2e0f7e164d4b08e455125d
parentef7f14036635e76f1bca975662130047d39314eb
parenta9fa2664ab98a1077e5b16d66c17aea0cd631ed7
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.