diff options
author | Victor Stinner <vstinner@python.org> | 2023-11-04 00:18:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 00:18:42 (GMT) |
commit | f62c7ccf9abf6e0493978da9cf9ca43adcd403f9 (patch) | |
tree | ba95e9e3a16c85164e9072054d59d3ce341ddfdc /Python/Python-ast.c | |
parent | 244e37b22a826eeb37bc057193bbff7138bc6ac3 (diff) | |
download | cpython-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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions