[Python-Dev] PEP 498: Literal String Interpolation
ncoghlan at gmail.com
Mon Aug 31 15:10:02 CEST 2015
On 30 August 2015 at 23:41, Eric V. Smith <eric at trueblade.com> wrote:
> Note there's a companion PEP 501 which extends this idea by delaying
> converting the expression into a string. This allows for more control
> over how the expressions are converted in to strings, and allows for
> non-string conversions as well.
For the benefit of folks that weren't following the (many) iterations
on python-ideas: PEP 501's general purpose string interpolation
started out as a competitor to 498, but as the discussion continued
and my ideas started to converge more and more with Eric's, I
eventually realised it made more sense as an optional extension to PEP
498 that exposed the inner workings of the scope aware interpolation
machinery to Python code.
As part of that, I'm +1 on PEP 498's literal string interpolation syntax.
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev