-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error messages regarding unclosed parentheses #87030
Comments
Consider this file:
The error that we get is: ❯ python ../a.py
SyntaxError: unexpected EOF while parsin This is quite uninformative of the actual problem, which is the closed parentheses. The same happens with something like this: ( 1+2 File "/home/pablogsal/github/python/master/lel.py", line 3
SyntaxError: unexpected EOF while parsing With some effort, we can include the location of the unclosed parentheses. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: