]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-141510 Add frozendict fast paths to abstract.c (GH-150692) (#151704)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Jun 2026 09:08:08 +0000 (11:08 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 09:08:08 +0000 (09:08 +0000)
commit2c09c0ed29fe1d21cc5177b2cc1c0a27fb31f446
tree6d89755de8e6ebcf2e503d05fcce8e30aa7a27ff
parent022a018b5b85d98050610e80dc5b784ea26574e5
[3.15] gh-141510 Add frozendict fast paths to abstract.c (GH-150692) (#151704)

gh-141510 Add frozendict fast paths to abstract.c (GH-150692)

Add frozendict to the fast paths of PyMapping_GetOptionalItem(),
PyMapping_Keys(), PyMapping_Values(), and PyMapping_Items().
(cherry picked from commit a5568d0eb70f8ffbfc7815b58e24170787615931)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Lib/test/test_capi/test_abstract.py
Misc/NEWS.d/next/C_API/2026-06-18-18-24-11.gh-issue-141510.-EOHJ1.rst [new file with mode: 0644]
Objects/abstract.c