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 Nghia Minh, eric.smith
Date 2020-07-08.09:13:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594199583.34.0.294774637774.issue41240@roundup.psfhosted.org>
In-reply-to
Content
This is a limitation of the parser: the entire f-string is first evaluated as a string.

Just as 
'Hey, {' this quote is wrong.'}'
or
r'Hey, {' this quote is wrong.'}'
are not valid strings, neither is
f'Hey, {' this quote is wrong.'}'

See issue 33754 for a possible future change that would address this.
History
Date User Action Args
2020-07-08 09:13:03eric.smithsetrecipients: + eric.smith, Nghia Minh
2020-07-08 09:13:03eric.smithsetmessageid: <1594199583.34.0.294774637774.issue41240@roundup.psfhosted.org>
2020-07-08 09:13:03eric.smithlinkissue41240 messages
2020-07-08 09:13:03eric.smithcreate