]> granicus.if.org Git - python/commit
Closes #22922: More EventLoop methods fail if the loop is closed. Initial patch
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 4 Dec 2014 22:07:47 +0000 (23:07 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 4 Dec 2014 22:07:47 +0000 (23:07 +0100)
commite80bf0d4a996b3ecda2c2f3cbab10037b9fdcd5e
tree44657f6e8bee097da3fa5c79db0092a0df6858a4
parentdd8224e6a483a45d7cf2e7be0fa7d818a3f04c80
Closes #22922: More EventLoop methods fail if the loop is closed. Initial patch
written by Torsten Landschoff.

create_task(), call_at(), call_soon(), call_soon_threadsafe() and
run_in_executor() now raise an error if the event loop is closed.
Lib/asyncio/base_events.py
Lib/asyncio/unix_events.py
Lib/test/test_asyncio/test_events.py