]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44422: Fix threading.enumerate() reentrant call (GH-26727)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Jun 2021 14:34:42 +0000 (07:34 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 14:34:42 +0000 (07:34 -0700)
commitc3b776f83b4c765da6d7b8854e844e07bd33c375
tree4e9bd562324585032743a77f9f522ab94eb58d20
parente30fe27dabbc6b48736c3c17d57f6fa542376e8f
bpo-44422: Fix threading.enumerate() reentrant call (GH-26727)

The threading.enumerate() function now uses a reentrant lock to
prevent a hang on reentrant call.
(cherry picked from commit 243fd01047ddce1a7eb0f99a49732d123e942c63)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/threading.py
Misc/NEWS.d/next/Library/2021-06-14-23-28-17.bpo-44422.BlWOgv.rst [new file with mode: 0644]