[Python-ideas] Draft2 PEP on string interpolation

Mike Miller python-ideas at mgmiller.net
Fri Aug 28 10:34:55 CEST 2015


Hi,

I was able to get this done tonight.  There's still simplifications to be done, 
perhaps keeping the string fragments in one piece?  Also, a lot of things need 
to be passed to the constructor to avoid parsing the template twice.

Positional arguments are working however, and we're back to inheriting from str. 
  It is now rendering into the "real" string, and everything seems to work 
without the magic methods.  ;)

Thanks,
-Mike

On 08/27/2015 02:02 PM, Guido van Rossum wrote:


More information about the Python-ideas mailing list