[Python-Dev] transitioning from % to {} formatting
Benjamin Peterson
benjamin at python.org
Sat Oct 3 20:37:42 CEST 2009
2009/10/3 Brett Cannon <brett at python.org>:
> 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.
I've already started a converter. It's here:
https://code.launchpad.net/~gutworth/+junk/mod2format
--
Regards,
Benjamin
More information about the Python-Dev
mailing list