[Python-ideas] Draft PEP on string interpolation
Eric V. Smith
eric at trueblade.com
Mon Aug 24 03:31:06 CEST 2015
> On Aug 23, 2015, at 9:24 PM, Steven D'Aprano <steve at pearwood.info> wrote:
>
>> On Sun, Aug 23, 2015 at 08:35:17PM -0400, Eric V. Smith wrote:
>>
>> I think the string interpolation object is interesting. It's basically
>> what Petr Viktorin and Chris Angelico discussed and suggested here:
>> https://mail.python.org/pipermail/python-ideas/2015-August/035303.html.
>
> Are you sure that's the right URL? It seems only barely relevant to me.
> It has Chris replying to Petr, but it's a vague suggestion of a "quantum
> string interpolation" (Chris' words) with no details. He asks:
>
> "How hard would this be to implement? Something that isn't a string,
> retains all the necessary information, and then collapses to a string
> when someone looks at it?"
>
> I looked ahead a dozen or two posts, and can't see any further
> discussion. Have I missed something?
That's the right url. I thought they were talking about the same thing. I even had a response written about it, saying it would always require str() for the simple use case. Then I accidentally deleted it before I sent it :(
Maybe I read too much in to it.
Eric.
More information about the Python-ideas
mailing list