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 isinstance with explicit (non generic) type alias #18512

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

hauntsaninja
Copy link
Collaborator

This is a partial revert of #18173 to unblock the 1.15 release

Fixes #18488

This is a partial revert of python#18173 to unblock the 1.15 release

Fixes python#18488
Copy link
Contributor

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

Copy link
Collaborator

@brianschubert brianschubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me! Thanks for doing this to unblock the release.

@hauntsaninja
Copy link
Collaborator Author

Thanks for the review and for the original change!

@hauntsaninja hauntsaninja merged commit 6519335 into python:master Jan 23, 2025
18 checks passed
@hauntsaninja hauntsaninja deleted the typealias branch January 23, 2025 04:07
wesleywright pushed a commit that referenced this pull request Jan 23, 2025
This is a partial revert of #18173 to unblock the 1.15 release

Fixes #18488
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
This is a partial revert of python#18173 to unblock the 1.15 release

Fixes python#18488
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.

[regression] isinstance complains about parametrized generics with any use of TypeAlias
2 participants