aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_streams.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-11-04 01:18:42 +0100
committerGitHub <noreply@github.com>2023-11-04 00:18:42 +0000
commitf62c7ccf9abf6e0493978da9cf9ca43adcd403f9 (patch)
treeba95e9e3a16c85164e9072054d59d3ce341ddfdc /Lib/test/test_asyncio/test_streams.py
parent244e37b22a826eeb37bc057193bbff7138bc6ac3 (diff)
downloadcpython-f62c7ccf9abf6e0493978da9cf9ca43adcd403f9.tar.gz
cpython-f62c7ccf9abf6e0493978da9cf9ca43adcd403f9.zip
gh-111644: Fix support threading_cleanup() (#111714)
Copy the list of dangling threads to make sure that the list of "Dangling thread" is complete. Previously, the list was incomplete if threads completed just before the list was displayed. Changes: * Rewrite the warning to make it easier to understand. * Use support.sleeping_retry(). * threading_cleanup() no longer copies threading._dangling, but only counts the number of dangling thread. * Remove support.gc_support() call.
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
0 files changed, 0 insertions, 0 deletions