Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash during ParamSpec inference #14118

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

ilevkivskyi
Copy link
Member

Fixes #13903

The fix is straightforward, the formal to actual map needs to be refreshed twice, after both using external and internal type context.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@ilevkivskyi
Copy link
Member Author

It looks like @jhance just fixed this in 885e361. But I am still going to land the tests, so that it will not regress in future.

@ilevkivskyi ilevkivskyi merged commit 823667d into python:master Nov 17, 2022
@ilevkivskyi ilevkivskyi deleted the fix-paramspec-crash branch November 17, 2022 21:11
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.

[INTERNAL ERROR] IndexError: list index out of range
1 participant