New Python 3.0 string formatting - really necessary?

Michael Torrie torriem at gmail.com
Mon Dec 22 12:04:15 EST 2008


r wrote:
> Thanks MRAB,
> except the float is not 2 decimal places, but its there
> 
> Come on... They did this for the interpreter not us. It's easer to
> parse this string with positional arguments and a dict of format
> descriptions. Come on pydev, at least be honest about it!

No.  They did this for the *language*.  Come on, R.  Read the PEP on the
new string formatter.  The rationale is very clear.



More information about the Python-list mailing list