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

Guido van Rossum guido at python.org
Thu Oct 8 19:33:39 CEST 2009


On Thu, Oct 8, 2009 at 10:14 AM, Raymond Hettinger <python at rcn.com> wrote:

Do you think there may be some possible parallel to the -3 option to flag cases of %-formatting?  If so, that could be helpful.

Absolutely. This should be simple, since there's just one or two places where to place the warning. We might also automatically turn it on when Python 2.7 is run with -3.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list