]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-153881: Atomically load `dk_nentries` in `_PyObject_IsInstanceDictEmpty...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Jul 2026 12:47:37 +0000 (14:47 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jul 2026 12:47:37 +0000 (18:17 +0530)
commit682610d700511439add24dcca62708b4c1644d3f
tree9ae7c2caa5aa9bbcafe631902f35f64c114b513f
parentb3e046cdb4e9ac869b77022579d47ddb848c4fda
[3.15] gh-153881: Atomically load `dk_nentries` in `_PyObject_IsInstanceDictEmpty` (GH-153882) (#154349)

gh-153881: Atomically load `dk_nentries` in `_PyObject_IsInstanceDictEmpty` (GH-153882)
(cherry picked from commit 7ebe773160327026ba5393b27e2e2860db4d08b2)

Co-authored-by: Brij Kapadia <97006829+brijkapadia@users.noreply.github.com>
Lib/test/test_free_threading/test_dict.py
Misc/NEWS.d/next/Core_and_Builtins/2026-07-17-22-03-39.gh-issue-153881.oDa06s.rst [new file with mode: 0644]
Objects/dictobject.c