(Merge 3.4) 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.
This commit is contained in:
Victor Stinner 2014-06-23 01:03:13 +02:00
commit 425aaa11d8
6 changed files with 18 additions and 3 deletions

View file

@ -132,6 +132,8 @@ Run an event loop
This clears the queues and shuts down the executor, but does not wait for
the executor to finish.
The event loop must not be running.
This is idempotent and irreversible. No other methods should be called after
this one.