Feature or enhancement
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).
I will send a PR :)
Linked PRs
Feature or enhancement
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(missingimport) andlazy os import path(missingfrom).I will send a PR :)
Linked PRs
SyntaxErrormessage forfrom x lazy import y#150877SyntaxErrormessage forfrom x lazy import y(GH-150877) #153090