[Python-Dev] transitioning from % to {} formatting

Benjamin Peterson benjamin at python.org
Thu Oct 8 17:07:53 CEST 2009

2009/10/8 Eric Smith <eric at trueblade.com>:
> Christian Tanzer wrote:
>> IMHO, either the translation is done once and gives identical output or
>> it isn't worth doing at all.
> I disagree. I doubt even 0.001% of all format strings involve octal
> formatting. Is it really worth not providing a transition path if it can't
> cover this case?

It's also really easy to just write 0{:o} like my translator does.


More information about the Python-Dev mailing list