Skip to content

Add negative subtype caches#14884

Merged
JukkaL merged 4 commits intopython:masterfrom
ilevkivskyi:negative-cache
Apr 11, 2023
Merged

Add negative subtype caches#14884
JukkaL merged 4 commits intopython:masterfrom
ilevkivskyi:negative-cache

Conversation

@ilevkivskyi
Copy link
Copy Markdown
Member

A possible solution for #14867 (I just copy everything from positive caches).

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@AlexWaygood
Copy link
Copy Markdown
Member

#14883 fixes the failing selfcheck FYI

@ikonst
Copy link
Copy Markdown
Contributor

ikonst commented Mar 12, 2023

@ilevkivskyi Are positive and negative caches symmetrical? Would it be possible to cache the bool value instead of having two lists?

@github-actions

This comment has been minimized.

@JMMarchant
Copy link
Copy Markdown

Any update on this getting merged in?

@ilevkivskyi
Copy link
Copy Markdown
Member Author

@JukkaL Do you have any additional comments on this, or should I just merge this?

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2023

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

Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL left a 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!

@JukkaL JukkaL merged commit b43e0d3 into python:master Apr 11, 2023
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.

5 participants