Do not allow class-level keywords for `NamedTuple` by sobolevn · Pull Request #16526 · python/mypy

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@sobolevn

Copy link Copy Markdown

Member

Refs #16521

@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:

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@JelleZijlstra JelleZijlstra JelleZijlstra approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@sobolevn @JelleZijlstra