Skip to content

gh-151593: Avoid deadlock in insert_split_key().#152133

Draft
nascheme wants to merge 2 commits into
python:mainfrom
nascheme:gh-151593-insert-split-key
Draft

gh-151593: Avoid deadlock in insert_split_key().#152133
nascheme wants to merge 2 commits into
python:mainfrom
nascheme:gh-151593-insert-split-key

Conversation

@nascheme

@nascheme nascheme commented Jun 24, 2026

Copy link
Copy Markdown
Member

We must not acquire other locks while holding the LOCK_KEYS() mutex. This issue is fixed by calling PyType_Modifed() after releasing the mutex.

Note: this PR was assisted by Claude Opus 4.8.

We must not acquire other locks while holding the LOCK_KEYS() mutex.  This
issue is fixed by calling PyType_Modifed() after releasing the mutex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant