]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-142495: Make `defaultdict` keep existed value when racing with `__missing__...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Dec 2025 15:31:05 +0000 (16:31 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Dec 2025 15:31:05 +0000 (15:31 +0000)
commitd089cad6564f6ef713b5acab85cb42b28611f5e8
treebd24af08e267ad30129a9c4429e016fb06f5b957
parentf162bcc188e0f9f16cea2df97460b5ed67649e40
[3.14] gh-142495: Make `defaultdict` keep existed value when racing with `__missing__` (GH-142668) (GH-142832)

(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