Whatever happened to String Interpolation?

Fernando Pérez fperez528 at yahoo.com
Sat Dec 1 09:03:52 EST 2001


Oren Tirosh wrote:

> On Sat, Dec 01, 2001 at 07:03:19PM +2328, Fernando Pérez wrote:
>> Exactly my point. I think when I mentioned my need of inserting %
>> in strange dynamic strings I inadvertedly set the discussion
>> off-course. That was just a side comment, and by no means the meat
>> of my point. My important point is that Ping's PEP allows a _clear_
>> way of saying
>> 
>>         "x is $x, f(x) is $f(x)"
> 
> Will this do?
> 
> i"x is `x`, f(x) is `f(x)`"
> 
> Take a look at http://www.tothink.com/python/interpp
> 

I saw your pep, but reading Tim Peter's comments worries me, he seems 
to point to very valid concerns.

However, whether yours or Ping's, it seems that string interpolation 
*is* important to more than one or two people. I hope something 
eventually makes it.

Cheers,

f



More information about the Python-list mailing list