• Victor Stinner's avatar
    Issue #21326: Add asyncio.BaseEventLoop.is_closed() method · 17f36634
    Victor Stinner yazdı
    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".
    17f36634
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
base_events.py Loading commit data...
base_subprocess.py Loading commit data...
constants.py Loading commit data...
events.py Loading commit data...
futures.py Loading commit data...
locks.py Loading commit data...
log.py Loading commit data...
proactor_events.py Loading commit data...
protocols.py Loading commit data...
queues.py Loading commit data...
selector_events.py Loading commit data...
streams.py Loading commit data...
subprocess.py Loading commit data...
tasks.py Loading commit data...
test_utils.py Loading commit data...
transports.py Loading commit data...
unix_events.py Loading commit data...
windows_events.py Loading commit data...
windows_utils.py Loading commit data...