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 gvanrossum, lys.nikolaou, pablogsal, serhiy.storchaka, vstinner
Date 2020-04-29.00:10:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588119025.19.0.883016739931.issue40246@roundup.psfhosted.org>
In-reply-to
Content
On bpo-40334 @vstinner reported that this change broke some code in turtledemo. The code looks like this:

print(dict(state=clear, bg="#d00" if clear else"#fca"))

Due to the absence of a space between `else` and `"`, the else keyword is now interpreted as an invalid string prefix. Is that acceptable?
History
Date User Action Args
2020-04-29 00:10:25lys.nikolaousetrecipients: + lys.nikolaou, gvanrossum, vstinner, serhiy.storchaka, pablogsal
2020-04-29 00:10:25lys.nikolaousetmessageid: <1588119025.19.0.883016739931.issue40246@roundup.psfhosted.org>
2020-04-29 00:10:25lys.nikolaoulinkissue40246 messages
2020-04-29 00:10:24lys.nikolaoucreate