Skip to content

gh-153881: Atomically load dk_nentries in _PyObject_IsInstanceDictEmpty - #153882

Merged
kumaraditya303 merged 3 commits into
python:mainfrom
brijkapadia:dict-race
Jul 21, 2026
Merged

gh-153881: Atomically load dk_nentries in _PyObject_IsInstanceDictEmpty#153882
kumaraditya303 merged 3 commits into
python:mainfrom
brijkapadia:dict-race

Conversation

@brijkapadia

@brijkapadiabrijkapadia commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

@kumaraditya303
kumaraditya303 merged commit 7ebe773 into python:mainJul 21, 2026
58 checks passed
@kumaraditya303kumaraditya303 added topic-free-threading needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jul 21, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @brijkapadia for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

Copy link
Copy Markdown

GH-154349 is a backport of this pull request to the 3.15 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 21, 2026
kumaraditya303 pushed a commit that referenced this pull request Jul 21, 2026
…nceDictEmpty` (GH-153882) (#154349)
gh-153881: Atomically load `dk_nentries` in `_PyObject_IsInstanceDictEmpty` (GH-153882)
(cherry picked from commit 7ebe773)
Co-authored-by: Brij Kapadia <97006829+brijkapadia@users.noreply.github.com>
@brijkapadia
brijkapadia deleted the dict-race branch July 21, 2026 13:46
Sign up for freeto 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.

4 participants

@brijkapadia@ZeroIntensity@kumaraditya303@ByteFlowing1337