gh-151593: Fix dead lock in PyDict insert_split_key() (#152200) · python/cpython@bef5706 · GitHub
Skip to content

Commit bef5706

Browse files
vstinnernascheme
andauthored
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>
1 parent 7c81637 commit bef5706

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

Objects/dictobject.c

Lines changed: 18 additions & 1 deletion

0 commit comments

Comments
 (0)