Skip to content

Conversation

@Avasam
Copy link
Collaborator

@AvasamAvasam commented Jan 8, 2023

Closes#9297 and see #9470 (comment)

I found myself using a _Unused TypeAlias a lot for semantic reasons.

Of course they can't be used everywhere until the next mypy update.

@github-actions

This comment has been minimized.

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

@github-actions
Copy link
Contributor

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

@AlexWaygoodAlexWaygood merged commit 41de531 into python:mainJan 8, 2023
@AlexWaygood
Copy link
Member

Of course they can't be used everywhere until the next mypy update.

(stdlib usage is fine now, but, as you say, we'll have to hold off on third-party usage until mypy 1.0 comes along :)

Sign up for freeto 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.

StrOrBytesPath | FileDescriptor alias

2 participants

@Avasam@AlexWaygood