Skip to content

gh-162045: Improve syntax error message for **_ in mapping patterns - #162049

Open
sobolevn wants to merge 1 commit into
python:mainfrom
sobolevn:issue-162045
Open

sobolevn wants to merge 1 commit into
python:mainfrom
sobolevn:issue-162045

Conversation

@sobolevn

@sobolevn sobolevn commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

I want to resurect #138865, to do so, I decided to start with a simplier thing that is rather cryptic at the moment :)

One more thing: it probably makes sense to also add a new error that things like {**first, **second} are not supported in the next PR.

@sobolevn sobolevn changed the title gh-162045: Imporve syntax error message for **_ in mapping patterns gh-162045: Improve syntax error message for **_ in mapping patterns Nov 15, 2026
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