Skip to content

gh-145876: Do not mask AttributeErrors raised during dictionary unpacking#145906

Open
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:unpack-dict-pass-errors
Open

gh-145876: Do not mask AttributeErrors raised during dictionary unpacking#145906
serhiy-storchaka wants to merge 1 commit intopython:mainfrom
serhiy-storchaka:unpack-dict-pass-errors

Conversation

@serhiy-storchaka
Copy link
Member

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

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

… unpacking

AttributeErrors raised in keys() or __getitem__() during
dictionary unpacking ({**mymapping} or func(**mymapping)) are
no longer masked by TypeError.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant