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

stubgen: add support for PEPs 695 and 696 syntax #18054

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

hamdanal
Copy link
Collaborator

closes #17997

@hamdanal hamdanal added topic-stubgen topic-pep-696 TypeVar defaults topic-pep-695 Issues related to PEP 695 syntax labels Oct 26, 2024
mypy/stubdoc.py Outdated Show resolved Hide resolved

This comment has been minimized.

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

@hauntsaninja hauntsaninja merged commit 5313497 into python:master Oct 28, 2024
20 checks passed
@hamdanal hamdanal deleted the stubgen-peps-695-696 branch November 2, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-pep-695 Issues related to PEP 695 syntax topic-pep-696 TypeVar defaults topic-stubgen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stubgen doesn't support new PEP 695 type aliases
3 participants