FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix crash on class using itself as a type variable by ilevkivskyi · Pull Request #22219 · python/mypy · GitHub

Repository navigation

Fix crash on class using itself as a type variable - #22219

Merged
ilevkivskyi merged 2 commits into
python:masterfrom
ilevkivskyi:fix-req-gen
Oct 19, 2026
Merged

ilevkivskyi merged 2 commits into
python:masterfrom
ilevkivskyi:fix-req-gen

Conversation

Copy link
Copy Markdown
Member

Fixes #21549

Fix is straightforward. New syntax test added just in case for completeness.

This comment has been minimized.

Copy link
Copy Markdown
Contributor

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

scipy-stubs (https://github.com/scipy/scipy-stubs)
+ tests/misc/test_submodules_empty.pyi:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

ilevkivskyi merged commit 58a63c9 into python:master Oct 19, 2026
25 checks passed
ilevkivskyi deleted the fix-req-gen branch October 19, 2026 13:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

AssertionError: Must not defer during final iteration with recursive class definition

2 participants


Back | FazBrowse Home | New Git URL