You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are several cases that can be improved when there are syntax errors in the code.
The most important one in my opinion is from os lazy import path.
This is the problem many people have shared with me already. It is an easy-to-catch one.
Currently it does not have any specific error message.
Next, these two are optional, but in my opinion are also quite helpful: lazy os (missing import) and lazy os import path (missing from).
Activity
gh-150459: Fix `SyntaxError` message for `from x lazy import y` (#150877
[3.15] gh-150459: Fix `SyntaxError` message for `from x lazy import y` (
StanFromIreland commentedon Jul 6, 2026
Triage: can this be closed as completed?