• Victor Stinner's avatar
    bpo-37278: Fix test_asyncio ProactorLoopCtrlC (GH-14074) · 07559450
    Victor Stinner yazdı
    Join the thread to prevent leaking a running thread and leaking a
    reference.
    
    Cleanup also the test:
    
    * asyncioWindowsProactorEventLoopPolicy became the default policy,
      there is no need to set it manually.
    * Only start the thread once the loop is running.
    * Use a shorter sleep in the thread (100 ms rather than 1 sec).
    * Use close_loop(loop) rather than loop.close().
    * Use longer variable names.
    07559450
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
__main__.py Loading commit data...
echo.py Loading commit data...
echo2.py Loading commit data...
echo3.py Loading commit data...
functional.py Loading commit data...
test_base_events.py Loading commit data...
test_buffered_proto.py Loading commit data...
test_context.py Loading commit data...
test_events.py Loading commit data...
test_futures.py Loading commit data...
test_locks.py Loading commit data...
test_pep492.py Loading commit data...
test_proactor_events.py Loading commit data...
test_protocols.py Loading commit data...
test_queues.py Loading commit data...
test_runners.py Loading commit data...
test_selector_events.py Loading commit data...
test_sendfile.py Loading commit data...
test_server.py Loading commit data...
test_sock_lowlevel.py Loading commit data...
test_sslproto.py Loading commit data...
test_streams.py Loading commit data...
test_subprocess.py Loading commit data...
test_tasks.py Loading commit data...
test_transports.py Loading commit data...
test_unix_events.py Loading commit data...
test_windows_events.py Loading commit data...
test_windows_utils.py Loading commit data...
utils.py Loading commit data...