KEMBAR78
Do not allow `ClassVar` and `Final` in `TypedDict` and `NamedTuple` by sobolevn · Pull Request #18281 · python/mypy · GitHub
Skip to content

Conversation

sobolevn
Copy link
Member

Closes #18220

@github-actions

This comment has been minimized.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Left questions about functional forms.

@sobolevn
Copy link
Member Author

Thanks, addressed! 👍

@github-actions
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

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks, looks good now!

@JukkaL JukkaL merged commit bec5cad into master Dec 12, 2024
19 checks passed
@JukkaL JukkaL deleted the issue-18220 branch December 12, 2024 10:33
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.

Disallow ClassVar and Final qualifiers in TypedDict and NamedTuple items

2 participants