diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-04 01:06:24 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-04 01:06:24 +0200 |
commit | 17f3663497116316116fa560ce59f842cee4e473 (patch) | |
tree | 6b9079da8f666037b1c4efc178e97efc197cf3b7 /Lib/idlelib/AutoExpand.py | |
parent | 8526a945a09656338dcccec23ac69269462a34e0 (diff) | |
download | cpython-git-17f3663497116316116fa560ce59f842cee4e473.tar.gz |
Issue #21326: Add asyncio.BaseEventLoop.is_closed() method
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() now raises a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
Diffstat (limited to 'Lib/idlelib/AutoExpand.py')
0 files changed, 0 insertions, 0 deletions