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 Crowthebird
Recipients Crowthebird, lys.nikolaou, pablogsal
Date 2021-11-08.23:51:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636415498.31.0.65214367286.issue45759@roundup.psfhosted.org>
In-reply-to
Content
While fixing errors in a program, I encountered this:

if a == b + 2:
    c = sqrt(b) + a**2
    elif a == b + 3:
    ^^^^
SyntaxError: Invalid syntax

It should be giving an `IndentationError` or a better error message at least.
History
Date User Action Args
2021-11-08 23:51:38Crowthebirdsetrecipients: + Crowthebird, lys.nikolaou, pablogsal
2021-11-08 23:51:38Crowthebirdsetmessageid: <1636415498.31.0.65214367286.issue45759@roundup.psfhosted.org>
2021-11-08 23:51:38Crowthebirdlinkissue45759 messages
2021-11-08 23:51:38Crowthebirdcreate