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

Sven R. Kunze srkunze at mail.de
Sun Sep 6 11:44:45 CEST 2015


On 05.09.2015 12:58, Chris Angelico wrote:
> 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 :)

Do you really think that matters?


More information about the Python-Dev mailing list