Skip to content

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

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

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.
@nascheme nascheme marked this pull request as ready for review June 25, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant