git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


---------- 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.