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 aroberge, lys.nikolaou, pablogsal
Date 2021-08-05.16:47:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628182065.03.0.703378748156.issue44838@roundup.psfhosted.org>
In-reply-to
Content
> 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?

Yeah! That is what I was thinking. The key here is that the ':' is the only token that is valid after the construct, so anything else is a wrong 'if' expression, no matter what it is.
History
Date User Action Args
2021-08-05 16:47:45pablogsalsetrecipients: + pablogsal, aroberge, lys.nikolaou
2021-08-05 16:47:45pablogsalsetmessageid: <1628182065.03.0.703378748156.issue44838@roundup.psfhosted.org>
2021-08-05 16:47:45pablogsallinkissue44838 messages
2021-08-05 16:47:44pablogsalcreate