Skip to content

gh-148393: Use atomic ops on _ma_watcher_tag in free threading build#148397

Open
colesbury wants to merge 1 commit intopython:mainfrom
colesbury:gh-148393-atomic-watcher-tag
Open

gh-148393: Use atomic ops on _ma_watcher_tag in free threading build#148397
colesbury wants to merge 1 commit intopython:mainfrom
colesbury:gh-148393-atomic-watcher-tag

Conversation

@colesbury
Copy link
Copy Markdown
Contributor

@colesbury colesbury commented Apr 11, 2026

Fixes data races between dict mutation and watch/unwatch on the same dict.

…build

Fixes data races between dict mutation and watch/unwatch on the same dict.
Copy link
Copy Markdown
Member

@Fidget-Spinner Fidget-Spinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this in the optimizer as well!

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