]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151593: Fix dead lock in PyDict insert_split_key() (#152200)
authorVictor Stinner <vstinner@python.org>
Thu, 25 Jun 2026 17:58:27 +0000 (19:58 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2026 17:58:27 +0000 (19:58 +0200)
commitbef570622263ecd58563f0474693c19c8545de73
treebf4fa694f727c09c4ecc0d7c47c9cdab05d6394f
parent7c8163719cd23d41daeaed0b243be45de3e82e05
gh-151593: Fix dead lock in PyDict insert_split_key() (#152200)

Do not hold LOCK_KEYS() lock when calling PyType_Modified() to avoid
a deadlock.

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Objects/dictobject.c