• Yury Selivanov's avatar
    asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is running. · 08a7a4e5
    Yury Selivanov yazdı
    Previous approach of installing coroutine wrapper in loop.set_debug() and
    uninstalling it in loop.close() was very fragile.  Most of asyncio tests
    do not call loop.close() at all.  Since coroutine wrapper is a global
    setting, we have to make sure that it's only set when the loop is
    running, and is automatically unset when it stops running.
    
    Issue #24017.
    08a7a4e5
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...
coroutines.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...
sslproto.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...