Skip to content

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
@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.

2 participants