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

Do not allow class-level keywords for NamedTuple #16526

Merged
merged 3 commits into from Nov 25, 2023
Merged

Conversation

sobolevn
Copy link
Member

Refs #16521

This comment has been minimized.

Copy link
Contributor

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

discord.py (https://github.com/Rapptz/discord.py): typechecking got 1.06x slower (177.4s -> 188.0s)
(Performance measurements are based on a single noisy sample)

@JelleZijlstra JelleZijlstra merged commit 50d6d0b into master Nov 25, 2023
18 checks passed
@JelleZijlstra JelleZijlstra deleted the issue-16521 branch November 25, 2023 16:46
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.

None yet

2 participants