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 lys.nikolaou
Recipients aroberge, lys.nikolaou, pablogsal
Date 2021-08-05.13:00:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Oh, this is a difficult one.

It's caused by GH-27506 that was recently added to produce better errors for things like `print('hello' if something)`, where the correct syntax is `print('hello' if something else 'hi').

This is going to have a lot of false positives though, especially in cases like this, where an if statement immediately follows a line with unclosed parentheses.

What do you think, Pablo? Should we maybe revert this?
Date User Action Args
2021-08-05 13:00:20lys.nikolaousetrecipients: + lys.nikolaou, aroberge, pablogsal
2021-08-05 13:00:20lys.nikolaousetmessageid: <>
2021-08-05 13:00:20lys.nikolaoulinkissue44838 messages
2021-08-05 13:00:20lys.nikolaoucreate