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

Support PEP 613 #11305

Merged
merged 1 commit into from
Oct 12, 2021
Merged

Support PEP 613 #11305

merged 1 commit into from
Oct 12, 2021

Conversation

hauntsaninja
Copy link
Collaborator

Resolves #9404

@srittau
Copy link
Contributor

srittau commented Oct 10, 2021

Thank you for working on this. I would really love to be able to use type aliases in typeshed.

from typing_extensions import TypeAlias

x: TypeAlias = list(int) # E: Invalid type alias: expression is not a valid type \
# E: Too many arguments for "list"
Copy link
Member

Choose a reason for hiding this comment

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

The second error is weird but seems unrelated to your changes.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I assumed it was just a fixtures thing

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Awesome, so excited about this feature! 👍

@hauntsaninja hauntsaninja merged commit df827c9 into python:master Oct 12, 2021
@hauntsaninja hauntsaninja deleted the pep613 branch October 12, 2021 17:51
@Eric-Arellano
Copy link

Thank you! This is awesome.

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.

Support PEP 613
5 participants