[Python-ideas] Briefer string format

Eric V. Smith eric at trueblade.com
Tue Aug 4 23:16:58 CEST 2015


On 8/4/2015 4:52 PM, Guido van Rossum wrote:
> OK, fine, I'll say right now that I agree with Eric's arguments for full
> expressions.

Thanks.

> (Though honestly the whole look of f-strings hasn't quite grown on me. I
> wish I could turn back the clock and make expression substitution a
> feature of all string literals, perhaps using \{...}, which IIRC I've
> seen in some other language.)

Well, we could do that with a future statement. It might be tough to
ever make it the default, though.

But since it would only be literals, it's easy enough to find.

Eric.



More information about the Python-ideas mailing list