Author eric.smith
Recipients BTaskaya, davidhalter, emilyemorehouse, eric.smith, lys.nikolaou, pablogsal, rhettinger
Date 2020-10-21.20:12:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603311138.97.0.727702706234.issue33754@roundup.psfhosted.org>
In-reply-to
Content
Just some notes to consider before work starts on this in earnest:

We need to decide what sort of changes we'll accept, if any. For at least the first round of this, I'm okay with "absolutely no change will be acceptable".

For example, here's a good change (IMO): allowing f'{"\n" if cond else ""}'. I'd like to be able to use backslashes inside strings that are in an expression.

A questionable change: f'{'foo'}'. Nesting the same type of quotes.

I think we should be explicit about what we will accept, because editors, etc. will need to adapt. In msg318550 I mention that some external tools use the same lexer they use for strings to lex f-strings. Are we okay with break that?

And the f-string '=' feature maybe be hard to support. Although if we are able to support it, then I think the same solution will be applicable to string annotations without unparsing them.
History
Date User Action Args
2020-10-21 20:12:19eric.smithsetrecipients: + eric.smith, rhettinger, davidhalter, emilyemorehouse, lys.nikolaou, pablogsal, BTaskaya
2020-10-21 20:12:18eric.smithsetmessageid: <1603311138.97.0.727702706234.issue33754@roundup.psfhosted.org>
2020-10-21 20:12:18eric.smithlinkissue33754 messages
2020-10-21 20:12:18eric.smithcreate