Skip to content

Conversation

@ilevkivskyi
Copy link
Member

Fixes #20327

Fix is trivial, do not grab various internal/temporary symbols with star imports. This may create an invalid cross-reference (and is generally dangerous). Likely, this worked previously because we processed all fresh modules in queue, not just the dependencies of current SCC.

@github-actions
Copy link
Contributor

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

@ilevkivskyi ilevkivskyi merged commit 67df116 into python:master Nov 30, 2025
20 checks passed
@ilevkivskyi ilevkivskyi deleted the fix-redef-star-cycle branch November 30, 2025 16:30
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.19 regression] mypy crashes over asyncua

2 participants