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 aroberge
Recipients aroberge, lys.nikolaou, pablogsal
Date 2021-08-05.16:29:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628180979.51.0.239064051026.issue44838@roundup.psfhosted.org>
In-reply-to
Content
I have no idea how the parser works ... but when you do the test to identify if an 'else' is missing, could the fact that there is a colon instead of the expected 'else' be used to avoid misidentifying this case?

Note: I am keenly aware of the difficulties in identifying possible cause of syntax errors and do appreciate the many improvements that have been done.
History
Date User Action Args
2021-08-05 16:29:39arobergesetrecipients: + aroberge, lys.nikolaou, pablogsal
2021-08-05 16:29:39arobergesetmessageid: <1628180979.51.0.239064051026.issue44838@roundup.psfhosted.org>
2021-08-05 16:29:39arobergelinkissue44838 messages
2021-08-05 16:29:39arobergecreate