Skip to content

Fix crash on invalid star lvalue - #22222

Open
ilevkivskyi wants to merge 1 commit into
python:masterfrom
ilevkivskyi:fix-invalid-unpack
Open

ilevkivskyi wants to merge 1 commit into
python:masterfrom
ilevkivskyi:fix-invalid-unpack

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

Fixes #20796

I think the correct fix is to not create any placeholders in the first place, since this is essentially a syntax error.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

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.

NotImplementedError: Cannot serialize PlaceholderNode instance

1 participant