]> granicus.if.org Git - python/commitdiff
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)
* 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.


Trivial merge