Skip to content

Check slots assignments on self types#19332

Merged
ilevkivskyi merged 5 commits into
python:masterfrom
sterliakov:bugfix/gh-19331-slots-selftype
Aug 3, 2025
Merged

Check slots assignments on self types#19332
ilevkivskyi merged 5 commits into
python:masterfrom
sterliakov:bugfix/gh-19331-slots-selftype

Conversation

@sterliakov

Copy link
Copy Markdown
Collaborator

Fixes #19331.

@alwaysmpe

Copy link
Copy Markdown

Haha, thanks, you worked out the problem faster than I did

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@sterliakov sterliakov requested a review from hauntsaninja July 30, 2025 16:03
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@ilevkivskyi ilevkivskyi merged commit 5b28b62 into python:master Aug 3, 2025
20 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.

Slots not checked if Self annotation is present

3 participants