Skip to content

Warn when @disjoint_base is used on protocols or TypedDicts#21029

Merged
JelleZijlstra merged 1 commit intopython:masterfrom
brianschubert:pep800-warn-protocol-typeddict
Mar 16, 2026
Merged

Warn when @disjoint_base is used on protocols or TypedDicts#21029
JelleZijlstra merged 1 commit intopython:masterfrom
brianschubert:pep800-warn-protocol-typeddict

Conversation

@brianschubert
Copy link
Collaborator

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

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Thanks, good catch

@JelleZijlstra JelleZijlstra merged commit 0352178 into python:master Mar 16, 2026
24 checks passed
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.

2 participants