Staging
v0.5.1
https://github.com/python/cpython
Revision 0e0bc8762570277147a09278c829e4a85a331596 authored by Victor Stinner on 30 June 2017, 15:20:31 UTC, committed by GitHub on 30 June 2017, 15:20:31 UTC
* bpo-30280: asyncio now cleans up threads

asyncio base TestCase now uses threading_setup() and
threading_cleanup() of test.support to cleanup threads.

* asyncio: Fix TestBaseSelectorEventLoop cleanup

bpo-30280: TestBaseSelectorEventLoop of
test.test_asyncio.test_selector_events now correctly closes the event
loop: cleanup its executor to not leak threads.

Don't override the close() method of the event loop, only override
the_close_self_pipe() method.

(cherry picked from commit b9030674624c181d6e9047cdb14ad65bb6c84c66)
1 parent 714afcc
History
Tip revision: 0e0bc8762570277147a09278c829e4a85a331596 authored by Victor Stinner on 30 June 2017, 15:20:31 UTC
bpo-30280: Cleanup threads in ayncio tests (#2501) (#2512)
Tip revision: 0e0bc87
File Mode Size
bdist_wininst
clinic
WinMain.c -rw-r--r-- 449 bytes
_msi.c -rw-r--r-- 31.8 KB
config.c -rw-r--r-- 5.0 KB
dl_nt.c -rw-r--r-- 4.6 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 2.1 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.9 KB
generrmap.c -rw-r--r-- 849 bytes
getpathp.c -rw-r--r-- 26.6 KB
invalid_parameter_handler.c -rw-r--r-- 549 bytes
launcher.c -rw-r--r-- 49.5 KB
launcher.ico -rw-r--r-- 19.3 KB
msvcrtmodule.c -rw-r--r-- 14.8 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 20.5 KB
pylauncher.rc -rw-r--r-- 1.2 KB
pyshellext.cpp -rw-r--r-- 18.1 KB
pyshellext.def -rw-r--r-- 141 bytes
pyshellext.idl -rw-r--r-- 277 bytes
pyshellext.rc -rw-r--r-- 1.1 KB
pyshellext_d.def -rw-r--r-- 143 bytes
python.manifest -rw-r--r-- 1.0 KB
python3.def -rw-r--r-- 39.7 KB
python3dll.c -rw-r--r-- 134 bytes
python_exe.rc -rw-r--r-- 1.2 KB
python_nt.rc -rw-r--r-- 1.2 KB
python_ver_rc.h -rw-r--r-- 970 bytes
readme.txt -rw-r--r-- 3.5 KB
sqlite3.rc -rw-r--r-- 1.3 KB
testpy.py -rw-r--r-- 825 bytes
validate_ucrtbase.py -rw-r--r-- 2.7 KB
winreg.c -rw-r--r-- 58.6 KB
winsound.c -rw-r--r-- 5.6 KB

readme.txt

back to top