Skip to content

gh-145876: Do not mask KeyErrors raised during dictionary unpacking in call#146472

Merged
serhiy-storchaka merged 1 commit intopython:mainfrom
serhiy-storchaka:ext-call-key-error
Mar 29, 2026
Merged

gh-145876: Do not mask KeyErrors raised during dictionary unpacking in call#146472
serhiy-storchaka merged 1 commit intopython:mainfrom
serhiy-storchaka:ext-call-key-error

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Mar 26, 2026

KeyErrors raised in keys() or __getitem__() during dictionary unpacking in call (func(**mymapping)) are no longer masked by TypeError.

…king in call

KeyErrors raised in keys() or __getitem__() during dictionary unpacking
in call (func(**mymapping)) are no longer masked by TypeError.
@serhiy-storchaka serhiy-storchaka merged commit 6932c3e into python:main Mar 29, 2026
82 checks passed
@serhiy-storchaka serhiy-storchaka deleted the ext-call-key-error branch March 29, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants