[Python-Dev] PEP 498: Literal String Interpolation is ready for pronouncement

Chris Angelico rosuav at gmail.com
Sat Sep 5 12:58:52 CEST 2015


On Sat, Sep 5, 2015 at 8:57 PM, Chris Angelico <rosuav at gmail.com> wrote:
>> IMHO the main advantage of allowing expressions inside f-string is
>> that it adds something really new compared to the current str.format()
>> method. Without it, f-string are less interesting.
>
> I agree with your conclusion paragraph,
> and feel that they *are* interesting and useful in their
> currently-described state.

By the way, I've been using this PEP to drum up some excitement about
Python 3. Still trying to get some people to make the jump from 2.7,
but if this lands, it'll be cool and interesting and fun, and maybe
some more weight on the Py3 side of the scale :)

ChrisA


More information about the Python-Dev mailing list