Skip to content

gh-117657: Fix TSan race in _PyDict_CheckConsistency - #121551

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-dict
Jul 10, 2024
Merged

colesbury merged 1 commit into
python:mainfrom
colesbury:gh-117657-dict

Conversation

@colesbury

@colesbury colesbury commented Jul 9, 2024 •

Copy link
Copy Markdown
Contributor

The only remaining race in dictobject.c was in _PyDict_CheckConsistency when the dictionary has shared keys.

The only remaining race in dictobject.c was in _PyDict_CheckConsistency
when the dictionary has shared keys.
@colesbury
colesbury merged commit 3ec719f into python:main Jul 10, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@colesbury
colesbury deleted the gh-117657-dict branch July 10, 2024 18:04
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 10, 2024
…121551)

The only remaining race in dictobject.c was in _PyDict_CheckConsistency
when the dictionary has shared keys.
(cherry picked from commit 3ec719f)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app

bedevere-app Bot commented Jul 10, 2024

Copy link
Copy Markdown

GH-121590 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jul 10, 2024
colesbury added a commit that referenced this pull request Jul 10, 2024
… (#121590)

The only remaining race in dictobject.c was in _PyDict_CheckConsistency
when the dictionary has shared keys.
(cherry picked from commit 3ec719f)

Co-authored-by: Sam Gross <colesbury@gmail.com>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…1551)

The only remaining race in dictobject.c was in _PyDict_CheckConsistency
when the dictionary has shared keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants