[Python-ideas] String formatting and namedtuple

Eric Smith eric at trueblade.com
Fri Feb 13 04:49:13 CET 2009


[sorry for starting a new thread, but I just subscribed and can't figure 
out how to respond to an earlier message]

Raymond wrote:
 >[Terry Reedy]
 >>  There is certainly some disconnect on the issue.
 >
 >FWIW, whenever I done talks on 3.0, it is common to get
 >an aversive reaction when the new syntax is shown.
 >I pitch it in a positive light, but you can sense churning stomachs.

[not picking on Raymond here at all, his message was just convenient]

There are a number of comments in this thread that lead me to think not 
everyone is aware that .format is fully supported in 2.6. I just want to 
make sure everyone knows that's the case.

If you want to support 2.6+ and 3.0+, you can certainly use .format.

Eric.





More information about the Python-ideas mailing list