[Python-Dev] converting the stdlib to str.format

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jun 6 05:37:50 CEST 2008

Nick Coghlan wrote:
> %r is about the worst case for the new syntax relative to the old - two 
> characters become 5. It's worth looking at what those extra characters 
> buy us though:

However, those benefits are only realised some of the
time, and it's only in rare cases that they're all
realised at once. The cost-benefit analysis needs to
take the entropy into account somehow.


More information about the Python-Dev mailing list