[Python-Dev] cpython (3.2): Issue #14123: Explicitly mention that old style % string formatting has caveats (original) (raw)

Cameron Simpson cs at zip.com.au
Mon Feb 27 00:44:57 CET 2012


On 26Feb2012 15:33, Guido van Rossum <guido at python.org> wrote: | One thing I'd like to see happening regardless is support for | new-style formatting in the logging module. It's a little tricky to | think how that would work, alas -- should this be a property of the | logger or of the call?

Surely the call? The caller doesn't necessarily know anything about the loggers in play, so if a logger sprouts different message formating syntax the caller is hosed.

Cameron Simpson <cs at zip.com.au> DoD#743 http://www.cskk.ezoshosting.com/cs/

A Master is someone who started before you did. - Gary Zukav



More information about the Python-Dev mailing list