FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support PEP 613 by hauntsaninja · Pull Request #11305 · python/mypy · GitHub

Repository navigation

Support PEP 613 - #11305

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:pep613
Oct 12, 2021
Merged

hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:pep613

Conversation

Copy link
Copy Markdown
Collaborator

Resolves #9404

srittau commented Oct 10, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yeah, I assumed it was just a fixtures thing

sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Awesome, so excited about this feature! 👍

hauntsaninja merged commit df827c9 into python:master Oct 12, 2021
hauntsaninja deleted the pep613 branch October 12, 2021 17:51

Copy link
Copy Markdown

Thank you! This is awesome.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL