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 eric.smith
Recipients Anselm Kiefner, eric.smith
Date 2017-09-06.23:17:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504739856.19.0.96596712498.issue30793@psf.upfronthosting.co.za>
In-reply-to
Content
I'm thinking that instead of supporting backslashes in general inside expressions, I'll just special case strings.

So:
f"{'\n' if foo else ''}"
would be okay, but not:
f"{a\
}"

I think that would address the reason why \ was disallowed, but I'm going to have to go back and review the discussions to make sure.
History
Date User Action Args
2017-09-06 23:17:36eric.smithsetrecipients: + eric.smith, Anselm Kiefner
2017-09-06 23:17:36eric.smithsetmessageid: <1504739856.19.0.96596712498.issue30793@psf.upfronthosting.co.za>
2017-09-06 23:17:36eric.smithlinkissue30793 messages
2017-09-06 23:17:36eric.smithcreate