mirror of https://github.com/python/cpython
17f3663497
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". |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
echo.py | ||
echo2.py | ||
echo3.py | ||
keycert3.pem | ||
pycacert.pem | ||
ssl_cert.pem | ||
ssl_key.pem | ||
test_base_events.py | ||
test_events.py | ||
test_futures.py | ||
test_locks.py | ||
test_proactor_events.py | ||
test_queues.py | ||
test_selector_events.py | ||
test_streams.py | ||
test_subprocess.py | ||
test_tasks.py | ||
test_transports.py | ||
test_unix_events.py | ||
test_windows_events.py | ||
test_windows_utils.py |