Fwd: [BUG] missing ')' causes syntax error on next line

Jeff Linahan jeff.linahan at gmail.com
Wed Jul 22 17:57:28 EDT 2020


---------- Forwarded message ---------
From: Jeff Linahan <jeff.linahan at gmail.com>
Date: Wed, Jul 22, 2020, 5:23 PM
Subject: Fwd: [BUG] missing ')' causes syntax error on next line
To: <python-list at python.org>


Subscribing to the mailing list as per the bot's request and resending.

---------- Forwarded message ---------
From: Jeff Linahan <jeff.linahan at gmail.com>
Date: Wed, Jul 22, 2020, 5:20 PM
Subject: [BUG] missing ')' causes syntax error on next line
To: <python-list at python.org>


See attached image.  Would be nice if it printed "SyntaxError: unbalanced
parens" as it can difficult to see the problem if code like this is run in
an environment that only prints the problematic line, which in this case
the compiler is confused and one line off.


More information about the Python-list mailing list