[Python-Dev] transitioning from % to {} formatting (original) (raw)

Terry Reedy tjreedy at udel.edu
Sat Oct 3 07:23:33 CEST 2009


Benjamin Peterson wrote:

2009/10/2 Raymond Hettinger <python at rcn.com>:

[Terry Reedy]

I would agree, for instance, that an auto-translation tool is needed. We should get one written. ISTM, every %-formatting string is directly translatable to an equivalent {}-formatting string. Yes, but not all are possible to guess with mere static analysis.

Even if perfect is not possible, decently good would probably cover a lot of use cases.



More information about the Python-Dev mailing list