summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-14 13:02:51 +0200
committerGitHub <noreply@github.com>2019-06-14 13:02:51 +0200
commit07559450b2d9179e4c99e0af088ce7550e549f94 (patch)
treef0e6cb7c58179b73b43fa984a83b3f51232345c7 /Python/formatter_unicode.c
parentb2f94730d947f25b8507c5f76202e917683e76f7 (diff)
downloadcpython-git-07559450b2d9179e4c99e0af088ce7550e549f94.tar.gz
bpo-37278: Fix test_asyncio ProactorLoopCtrlC (GH-14074)
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.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions