Skip to content

Conversation

@ilevkivskyi
Copy link
Member

This allows to re-enable two more tests in parallel mode.

The fix is kind of simple, replace any remaining placeholders with a Var on final iteration (similar to what we do for regular from ... import x). This has one unfortunate consequence: now each error is only reported once (which is good), but it will be always reported in a module with a star import (because of how SCCs are ordered). I don't see any simple way to fix this, but IMO an error in a somewhat confusing place is better than a crash.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

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

@hauntsaninja hauntsaninja merged commit e7f4619 into python:master Jan 2, 2026
23 checks passed
@ilevkivskyi ilevkivskyi deleted the fix-parallel-fo-3 branch January 2, 2026 20:08
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