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 Seaky Lone
Recipients Seaky Lone
Date 2019-08-22.01:02:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566435724.71.0.382771248594.issue37912@roundup.psfhosted.org>
In-reply-to
Content
For example, I have the following code:

something = 'some thing'
string = f'some text {something.split(' ')}'

The second expression is thought to be invalid because it is regarded as two strings ['some text {something.split(', ')}']. I have to change either pair of '' to "" in order to make things work.
I think this should not be an invalid expression because the ' ' or any other expressions inside the {} should be independent of the outer ''.
History
Date User Action Args
2019-08-22 01:02:04Seaky Lonesetrecipients: + Seaky Lone
2019-08-22 01:02:04Seaky Lonesetmessageid: <1566435724.71.0.382771248594.issue37912@roundup.psfhosted.org>
2019-08-22 01:02:04Seaky Lonelinkissue37912 messages
2019-08-22 01:02:04Seaky Lonecreate