[Python-Dev] [Python-checkins] cpython (3.3): Issue #18345: Added cookbook example illustrating handler customisation.

Eric V. Smith eric at trueblade.com
Tue Nov 5 13:55:55 CET 2013


On 11/05/2013 05:03 AM, vinay.sajip wrote:
> http://hg.python.org/cpython/rev/5636366db039
> changeset:   86936:5636366db039
> branch:      3.3
> parent:      86933:2c191b0b5e7a
> user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
> date:        Tue Nov 05 10:02:21 2013 +0000
> summary:
>   Issue #18345: Added cookbook example illustrating handler customisation.
> 
> files:
>   Doc/howto/logging-cookbook.rst |  135 +++++++++++++++++++++
>   1 files changed, 135 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst
> --- a/Doc/howto/logging-cookbook.rst
> +++ b/Doc/howto/logging-cookbook.rst
> @@ -1694,3 +1694,138 @@
>  Note that the order of items might be different according to the version of
>  Python used.
>  
> +.. currentmodule:: logging.config
> +
> +Customising handlers with :func:`dictConfig`
> +--------------------------------------------

I love all things British, but the python source code usually uses
"customiz*" (341 instances) over "customis*" (19 instance, 8 of which
are in logging).

I realize "foolish consistency", and all that, but I think the
documentation should all use the same conventions. I'd be happy to
change the documentation.

Eric.



More information about the Python-Dev mailing list