]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141510 Add frozendict fast paths to abstract.c (#150692)
authorda-woods <dw-git@d-woods.co.uk>
Fri, 19 Jun 2026 08:41:00 +0000 (09:41 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 08:41:00 +0000 (08:41 +0000)
commita5568d0eb70f8ffbfc7815b58e24170787615931
tree27554e827f9e4217e02a497c6e0afe5863181db1
parent551f8e16f8bb38a1e9c6df259a2a0969493de070
gh-141510 Add frozendict fast paths to abstract.c (#150692)

Add frozendict to the fast paths of PyMapping_GetOptionalItem(),
PyMapping_Keys(), PyMapping_Values(), and PyMapping_Items().

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