]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-145876: Do not mask KeyErrors raised during dictionary unpacking in call (GH-146472)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 29 Mar 2026 08:58:52 +0000 (11:58 +0300)
committerGitHub <noreply@github.com>
Sun, 29 Mar 2026 08:58:52 +0000 (11:58 +0300)
commit6932c3ee6ad29d77ecb3015fdfb9b10e186ca9fd
tree4d1ef888baa48a9dd5b7dd642e2cf46775bcfc76
parent1af025dd2206eecee3ee6242f2a7cdb67173fb97
gh-145876: Do not mask KeyErrors raised during dictionary unpacking in call (GH-146472)

KeyErrors raised in keys() or __getitem__() during dictionary unpacking
in call (func(**mymapping)) are no longer masked by TypeError.
Include/internal/pycore_ceval.h
Include/internal/pycore_dict.h
Lib/test/test_extcall.py
Lib/test/test_unpack_ex.py
Misc/NEWS.d/next/Core_and_Builtins/2026-03-13-12-24-17.gh-issue-145876.LWFO2K.rst
Modules/_testinternalcapi/test_cases.c.h
Objects/dictobject.c
Python/bytecodes.c
Python/ceval.c
Python/executor_cases.c.h
Python/generated_cases.c.h