]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-142495: Make `defaultdict` keep existed value when racing with `__missing__...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 17 Dec 2025 08:40:47 +0000 (10:40 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Dec 2025 08:40:47 +0000 (08:40 +0000)
commit9361207bc2d198a10f7b9b6edda98f7da328cf93
tree3ed4b1dd1dc1401a9bced433700ab2dfc9dca034
parente07cda302e9633eef669db67a9ffe74d0403f5cc
[3.13] gh-142495: Make `defaultdict` keep existed value when racing with `__missing__` (GH-142668) (GH-142858)

(cherry picked from commit a0434075108efe6acdfba34f42545f4d80ac9a5e)

Co-authored-by: Edward Xu <xuxiangad@gmail.com>
Lib/test/test_defaultdict.py
Misc/NEWS.d/next/Library/2025-12-13-23-26-42.gh-issue-142495.I88Uv_.rst [new file with mode: 0644]
Modules/_collectionsmodule.c