https://github.com/python/cpython
Revision 89264a31eaeb71a1349edba96c090bcf026b498c authored by Miss Islington (bot) on 04 November 2023, 00:43:53 UTC, committed by GitHub on 04 November 2023, 00:43:53 UTC
gh-111644: Fix support threading_cleanup() (GH-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. (cherry picked from commit f62c7ccf9abf6e0493978da9cf9ca43adcd403f9) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 4a61169
Tip revision: 89264a31eaeb71a1349edba96c090bcf026b498c authored by Miss Islington (bot) on 04 November 2023, 00:43:53 UTC
[3.11] gh-111644: Fix support threading_cleanup() (GH-111714) (#111717)
[3.11] gh-111644: Fix support threading_cleanup() (GH-111714) (#111717)
Tip revision: 89264a3
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
.editorconfig | -rw-r--r-- | 206 bytes |
.gitattributes | -rw-r--r-- | 2.7 KB |
.gitignore | -rw-r--r-- | 2.5 KB |
.mailmap | -rw-r--r-- | 175 bytes |
.pre-commit-config.yaml | -rw-r--r-- | 729 bytes |
.readthedocs.yml | -rw-r--r-- | 389 bytes |
LICENSE | -rw-r--r-- | 13.6 KB |
Makefile.pre.in | -rw-r--r-- | 97.1 KB |
README.rst | -rw-r--r-- | 8.9 KB |
aclocal.m4 | -rw-r--r-- | 23.9 KB |
config.guess | -rwxr-xr-x | 48.2 KB |
config.sub | -rwxr-xr-x | 34.4 KB |
configure | -rwxr-xr-x | 713.5 KB |
configure.ac | -rw-r--r-- | 217.0 KB |
install-sh | -rwxr-xr-x | 15.0 KB |
pyconfig.h.in | -rw-r--r-- | 49.7 KB |
setup.py | -rw-r--r-- | 64.7 KB |
Computing file changes ...