]> granicus.if.org Git - python/commit
asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 22 Jun 2014 23:02:37 +0000 (01:02 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 22 Jun 2014 23:02:37 +0000 (01:02 +0200)
commitf328c7dc69da14766435d8608f89d81cd878bb4d
treee28c9941def58676945ff046468695a6f0a25561
parent62511fd6d62ef53c1d3d050b478750efc5a7014c
asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the
event loop is running. You must first stop the event loop and then wait until
it stopped, before closing it.
Doc/library/asyncio-eventloop.rst
Lib/asyncio/base_events.py
Lib/asyncio/proactor_events.py
Lib/asyncio/selector_events.py
Lib/asyncio/unix_events.py
Lib/test/test_asyncio/test_events.py