[Python-3000] PEP - string.format
Barry Warsaw
barry at python.org
Fri Apr 21 20:43:55 CEST 2006
On Fri, 2006-04-21 at 13:25 -0500, Ian Bicking wrote:
> While I've argued in an earlier thread that $var is more conventional,
> honestly I don't care (except that %(var)s is not very nice). A couple
> other people also preferred $var, but I don't know if they have
> particularly strong opinions either.
For the use case that string.Template was originally designed for, I
definitely agree. OTOH, as long as we don't change string.Template, it
can still be used for simple string substitutions (hence the title of
PEP 292) where all the extra formating is unnecessary.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-3000/attachments/20060421/76dcc633/attachment.pgp
More information about the Python-3000
mailing list