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 <>
Consider this file:

x = (


The error that we get is:

❯ python ../
  File "/home/pablogsal/github/python/master/../", 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/", line 3

SyntaxError: unexpected EOF while parsing

With some effort, we can include the location of the unclosed parentheses.
Date User Action Args
2021-01-08 03:03:30pablogsalsetrecipients: + pablogsal
2021-01-08 03:03:30pablogsalsetmessageid: <>
2021-01-08 03:03:30pablogsallinkissue42864 messages
2021-01-08 03:03:30pablogsalcreate