[Python-Dev] PEP 498: Literal String Interpolation is ready for pronouncement (original) (raw)

Guido van Rossum guido at python.org
Sun Sep 6 00:10:34 CEST 2015


On Sat, Sep 5, 2015 at 2:22 PM, Victor Stinner <victor.stinner at gmail.com> wrote:

If you really want to allow any Python inside a f-string, can you

please at least explain in the PEP why you consider that it's a good thing?

Sigh. We've gone over this on python-ideas. Your objection is not new. I'm sure that later others will have exactly the same question than me. Is''t the purpose of the PEP to summarize a discussion to not have to repeat it again and again? Please, can anyone summerize the discussion (on allowing or not complex expressions in f-string) into a short paragraph in the PEP? I don't follow python-ideas and I don't want to subscribe.

But you can at least read the PEP. There is a whole section "Supporting full Python expressions" which explains this.

-- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150905/823e3876/attachment-0001.html>



More information about the Python-Dev mailing list