This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients pablogsal
Date 2021-01-08.03:03:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610075010.91.0.684383999677.issue42864@roundup.psfhosted.org>
In-reply-to
Content
Consider this file:

```
x = (


```

The error that we get is:

❯ python ../a.py
  File "/home/pablogsal/github/python/master/../a.py", line 6

    ^
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.
History
Date User Action Args
2021-01-08 03:03:30pablogsalsetrecipients: + pablogsal
2021-01-08 03:03:30pablogsalsetmessageid: <1610075010.91.0.684383999677.issue42864@roundup.psfhosted.org>
2021-01-08 03:03:30pablogsallinkissue42864 messages
2021-01-08 03:03:30pablogsalcreate