[Python-Dev] Re: PEP 292, Simpler String Substitutions

Patrick K. O'Brien pobrien@orbtech.com
Wed, 19 Jun 2002 22:25:34 -0500


[Guido van Rossum]
> 
> I quite like the positional % substitution.  I think %(...)s was a
> mistake -- what we really wanted was ${...}.

What is the advantage of curly braces over parens in this context?

+1 on the allvars() suggestion also.

--
Patrick K. O'Brien
Orbtech
-----------------------------------------------
"Your source for Python software development."
-----------------------------------------------
Web:  http://www.orbtech.com/web/pobrien/ 
Blog: http://www.orbtech.com/blog/pobrien/ 
Wiki: http://www.orbtech.com/wiki/PatrickOBrien 
-----------------------------------------------