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

Add support for TypeIs (PEP 742) #330

Merged
merged 3 commits into from Feb 16, 2024

Conversation

JelleZijlstra
Copy link
Member

Cross-linking python/peps#3649.

@JelleZijlstra
Copy link
Member Author

I picked the name TypeNarrower, but it's very possible that we'll eventually end up with a different name. That could raise problems for backwards compatibility in typing-extensions, but I think it's fine: we'd simply rename TypeNarrower to the new name, and keep around TypeNarrower as an alias indefinitely.

Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Good name.

@JelleZijlstra JelleZijlstra changed the title Add support for TypeNarrower (PEP 742) Add support for TypeIs (PEP 742) Feb 14, 2024
@JelleZijlstra JelleZijlstra merged commit 566e01e into python:main Feb 16, 2024
18 checks passed
@JelleZijlstra JelleZijlstra deleted the typenarrower branch February 16, 2024 04:21
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.

None yet

2 participants