gh-151593: Avoid deadlock in insert_split_key(). by nascheme · Pull Request #152133 · python/cpython · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 103 additions & 0 deletions Lib/test/test_free_threading/test_dict.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix deadlock in ``insert_split_key()``. We must not acquire other locks
while holding the ``LOCK_KEYS()`` mutex. This issue is fixed by calling
:c:func:`PyType_Modified` after releasing the mutex.
9 changes: 8 additions & 1 deletion Objects/dictobject.c
Loading