8000 [3.13] gh-131113: Fix data race in dict.popitem() (gh-131115) by miss-islington · Pull Request #131119 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-131113: Fix data race in dict.popitem() (gh-131115) #131119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Mar 11, 2025

The clearing of the key, hash, and value need to use atomic operations
to avoid a data race with concurrent read operations.
(cherry picked from commit c00ac57)

Co-authored-by: Sam Gross colesbury@gmail.com

The clearing of the key, hash, and value need to use atomic operations
to avoid a data race with concurrent read operations.
(cherry picked from commit c00ac57)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@colesbury colesbury enabled auto-merge (squash) March 11, 2025 23:15
@colesbury colesbury merged commit 9e0fce4 into python:3.13 Mar 11, 2025
39 checks passed
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.

2 participants
0