Skip to content

Conversation

ilevkivskyi
Copy link
Member

Fixes #16629

This is really ad-hoc, but a proper fix would be much more hard, and this currently we have a crash in a relatively common scenario.

Copy link
Contributor

github-actions bot commented Jul 6, 2024

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

@ilevkivskyi ilevkivskyi merged commit 9c0a6f9 into python:master Jul 6, 2024
@ilevkivskyi ilevkivskyi deleted the fix-self-proto-call branch July 6, 2024 22:57
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.

Segmentation fault on callable protocol with Self annotation
1 participant