summaryrefslogtreecommitdiff
path: root/Lib/idlelib/AutoExpand.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-04 01:06:24 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-06-04 01:06:24 +0200
commit17f3663497116316116fa560ce59f842cee4e473 (patch)
tree6b9079da8f666037b1c4efc178e97efc197cf3b7 /Lib/idlelib/AutoExpand.py
parent8526a945a09656338dcccec23ac69269462a34e0 (diff)
downloadcpython-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