[issue18046] Simplify and clarify logging internals

Alex Gaynor report at bugs.python.org
Fri May 24 02:54:35 CEST 2013


New submission from Alex Gaynor:

This patch splits a dictionary that maps integer and string representations of levels to each other out into two dictionaries, one which goes int -> string, and the other which is string -> int. This makes it easier to reason about what a variable contains.

----------
components: Library (Lib)
files: log-simple.diff
keywords: needs review, patch
messages: 189889
nosy: alex
priority: normal
severity: normal
stage: patch review
status: open
title: Simplify and clarify logging internals
versions: Python 3.4
Added file: http://bugs.python.org/file30355/log-simple.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18046>
_______________________________________


More information about the Python-bugs-list mailing list