Skip to content

Support fancy new syntax for variadic types#16242

Merged
hauntsaninja merged 4 commits intopython:masterfrom
ilevkivskyi:tvt-fancy
Oct 18, 2023
Merged

Support fancy new syntax for variadic types#16242
hauntsaninja merged 4 commits intopython:masterfrom
ilevkivskyi:tvt-fancy

Conversation

@ilevkivskyi
Copy link
Copy Markdown
Member

This is the last significant thing I am aware of that is needed for PEP 646 support. After this and other currently open PRs are merged, I will make an additional pass grepping for usual suspects and verifying we didn't miss anything. Then we can flip the switch and announce this as supported.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

porcupine (https://github.com/Akuli/porcupine): typechecking got 1.73x slower (21.1s -> 36.6s)
(Performance measurements are based on a single noisy sample)

@mrahtz
Copy link
Copy Markdown

mrahtz commented Oct 27, 2023

(Thank you for all your work on this, Ivan!)

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.

3 participants