]> granicus.if.org Git - python/commit
asyncio: sync with Tulip
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 2 Jul 2014 22:59:00 +0000 (00:59 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 2 Jul 2014 22:59:00 +0000 (00:59 +0200)
commit2dba23af7145f3edc608dc16209e6ead38c0f6c8
tree0eec0e78f459221e1c2d269351d7b9e4aa5755ff
parente10920f0d1009ea33ce4b35b015a928b33a80867
asyncio: sync with Tulip

* _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode,
  not in read mode
* Examples: close the event loop at exit
* More reliable CoroWrapper.__del__. If the constructor is interrupted by
  KeyboardInterrupt or the coroutine objet is destroyed lately, some the
  _source_traceback attribute doesn't exist anymore.
* repr(Task): include also the future the task is waiting for
Lib/asyncio/coroutines.py
Lib/asyncio/tasks.py
Lib/asyncio/unix_events.py
Lib/test/test_asyncio/test_tasks.py