]> granicus.if.org Git - python/commit
asyncio: sync with Tulip
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Jan 2015 00:42:52 +0000 (01:42 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 9 Jan 2015 00:42:52 +0000 (01:42 +0100)
commit3531d9044dbfd15b3bf5ec1abe5b9744fce37464
tree4b4846bc3c351148f8bb8e6355b18710e6660e92
parent399c59d7bd5caeacfd98338d69400f83f15987db
asyncio: sync with Tulip

* Document why set_result() calls are safe
* Cleanup gather(). Use public methods instead of hacks to consume the
  exception of a future.
* sock_connect(): pass directly the fd to _sock_connect_done instead of the
  socket.
Lib/asyncio/queues.py
Lib/asyncio/selector_events.py
Lib/asyncio/tasks.py