Skip to content

[3.14] gh-137238: Fix data race in _Py_slot_tp_getattr_hook (gh-137240) #137416

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

Open
wants to merge 1 commit into
base: 3.14
Choose a base branch
from

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Aug 5, 2025

Replacing the slot isn't thread-safe if the GIL is disabled. Don't require that the slot has been replaced when specializing. (cherry picked from commit 485b16b)

…ythongh-137240)

Replacing the slot isn't thread-safe if the GIL is disabled. Don't
require that the slot has been replaced when specializing.
(cherry picked from commit 485b16b)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@colesbury
Copy link
Contributor Author

This can wait for 3.14.1

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