-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add negative subtype caches #14884
Add negative subtype caches #14884
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
#14883 fixes the failing selfcheck FYI |
@ilevkivskyi Are positive and negative caches symmetrical? Would it be possible to cache the bool value instead of having two lists? |
This comment has been minimized.
This comment has been minimized.
Any update on this getting merged in? |
@JukkaL Do you have any additional comments on this, or should I just merge this? |
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Let's try this out!
A possible solution for #14867 (I just copy everything from positive caches).