• 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
..
NEWS.d Loading commit data...
ACKS Loading commit data...
HISTORY Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.AIX Loading commit data...
README.coverity Loading commit data...
README.valgrind Loading commit data...
SpecialBuilds.txt Loading commit data...
coverity_model.c Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
python-config.in Loading commit data...
python-config.sh.in Loading commit data...
python-embed.pc.in Loading commit data...
python-wing3.wpr Loading commit data...
python-wing4.wpr Loading commit data...
python-wing5.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
svnmap.txt Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...