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

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

Paul Moore wrote:

> Because the second breaks if value is a tuple:

However, changing it now is going to break a huge
amount of existing code that uses %-formatting,
and in ways that 2to3 can't reliably fix.

Keeping %-formatting but breaking a large
proportion of its uses doesn't seem like a good
idea to me.


More information about the Python-Dev mailing list