Skip to content

Fix crash on invalid property inside its own body #19208

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

Merged

Conversation

ilevkivskyi
Copy link
Member

Fixes #19205

@ilevkivskyi ilevkivskyi requested a review from JukkaL June 2, 2025 17:41
Copy link
Contributor

github-actions bot commented Jun 2, 2025

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

nox (https://github.com/wntrblm/nox): 1.17x slower (43.1s -> 50.6s in single noisy sample)

typeshed-stats (https://github.com/AlexWaygood/typeshed-stats): 1.23x slower (46.0s -> 56.5s in single noisy sample)

@hauntsaninja hauntsaninja merged commit 5727d33 into python:master Jun 3, 2025
19 checks passed
@ilevkivskyi ilevkivskyi deleted the fix-double-invalid-property branch June 3, 2025 12:41
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.

[1.16 regression] crashes on invalid and self-referential setter
2 participants