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

Brett Cannon brett at python.org
Sat Oct 3 22:09:36 CEST 2009


On Sat, Oct 3, 2009 at 11:05, Brett Cannon <brett at python.org> wrote:

On Fri, Oct 2, 2009 at 20:03, Raymond Hettinger <python at rcn.com> wrote:

[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. Why don't we start something in the sandbox and see how far we can get. If no one beats me to it I will add the directory some time today and we can start hashing out the solution there.

Created str_fmt_conversion in the sandbox to hold any work people want to do on converting % formats to {} automatically.

-Brett



More information about the Python-Dev mailing list