]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44422: threading.Thread reuses the _delete() method (GH-26741)
authorVictor Stinner <vstinner@python.org>
Wed, 16 Jun 2021 09:41:17 +0000 (11:41 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 09:41:17 +0000 (11:41 +0200)
commit0729694246174a5c2f0ae197f2e0dbea61b90c9f
treef248d76556a6095fe63e2d96e857db7a0bae6588
parent7cad9cb51bdae2144cbab330f13a607ba3471742
bpo-44422: threading.Thread reuses the _delete() method (GH-26741)

The _bootstrap_inner() method of threading.Thread now reuses its
_delete() method rather than accessing _active() directly. It became
possible since _active_limbo_lock became reentrant. Moreover, it no
longer ignores any exception when deleting the thread from the
_active dictionary.
Lib/threading.py