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 slebedev
Recipients lys.nikolaou, slebedev
Date 2020-09-23.23:33:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

[x for x in [] if lambda: x]

This parses fine in 3.8, but doesn't parse in 3.9 because the grammar expects a disjunction after if in for_if_clause [*]. While this change has zero practical significance, I think it might be useful to maintain a list of such changes for tooling authors (who might need to support multiple Python versions).

Date User Action Args
2020-09-23 23:33:02slebedevsetrecipients: + slebedev, lys.nikolaou
2020-09-23 23:33:02slebedevsetmessageid: <>
2020-09-23 23:33:02slebedevlinkissue41848 messages
2020-09-23 23:33:02slebedevcreate