]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44422: Fix threading.enumerate() reentrant call (GH-26727) (GH-26738)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 15 Jun 2021 16:30:26 +0000 (09:30 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Jun 2021 16:30:26 +0000 (18:30 +0200)
commit8fe57aacc7bf9d9af84803b69dbb1d66597934c6
tree91a00a8a2ac6d3a026dc34d5de7921d2306b38a0
parent0d0a9eaa822658679cc2b65f125ab74bfd4aedfe
bpo-44422: Fix threading.enumerate() reentrant call (GH-26727) (GH-26738)

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]