summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-11-04 00:18:42 (GMT)
committerGitHub <noreply@github.com>2023-11-04 00:18:42 (GMT)
commitf62c7ccf9abf6e0493978da9cf9ca43adcd403f9 (patch)
treeba95e9e3a16c85164e9072054d59d3ce341ddfdc /Python
parent244e37b22a826eeb37bc057193bbff7138bc6ac3 (diff)
downloadcpython-f62c7ccf9abf6e0493978da9cf9ca43adcd403f9.zip
cpython-f62c7ccf9abf6e0493978da9cf9ca43adcd403f9.tar.gz
cpython-f62c7ccf9abf6e0493978da9cf9ca43adcd403f9.tar.bz2
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 'Python')
0 files changed, 0 insertions, 0 deletions