A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-February/116916.html below:

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

[Python-Dev] cpython (3.2): Issue #14123: Explicitly mention that old style % string formatting has caveats [Python-Dev] cpython (3.2): Issue #14123: Explicitly mention that old style % string formatting has caveatsLarry Hastings larry at hastings.org
Mon Feb 27 01:44:50 CET 2012
On 02/26/2012 03:33 PM, Guido van Rossum 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?

There already is some support.  logging.Formatter objects can be 
initialized with a "style" parameter, making this a property of the 
logger.  (New in 3.2.)

    http://docs.python.org/py3k/library/logging.html#formatter-objects

Is that what you had in mind?


//arry/
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4