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 aeros
Recipients aeros, hroncok, petr.viktorin, vstinner
Date 2020-04-29.01:34:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588124086.59.0.998136781277.issue40431@roundup.psfhosted.org>
In-reply-to
Content
> I don't think that it's worth it to backport the change to 3.7 and 3.8: in Python 3.7 and 3.8, the code is accepted.

> Python 3.7 and 3.8 are not broken, so there is no need to fix them :-)

I think we could very reasonably change  `else"#fca"` -> `else "#fca"` on the current bugfix branches, or at least 3.8. Even when it doesn't cause a syntax error and the attempted prefix is ignored, it's still more syntactically correct compared to attempting to use an "e-string" (which of course doesn't exist) and has nearly zero cost on our end to fix. 

While it's a low priority issue since it doesn't raise an error, that doesn't necessarily mean it's correct. In the latest stable version of the stdlib, we should aim to provide a good example IMO, especially if it comes at practically zero cost to us.
History
Date User Action Args
2020-04-29 01:34:46aerossetrecipients: + aeros, vstinner, petr.viktorin, hroncok
2020-04-29 01:34:46aerossetmessageid: <1588124086.59.0.998136781277.issue40431@roundup.psfhosted.org>
2020-04-29 01:34:46aeroslinkissue40431 messages
2020-04-29 01:34:45aeroscreate