[issue18046] Simplify and clarify logging internals

2013-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5629bf4c6bba by Vinay Sajip in branch 'default': Closes #18046: Simplified logging internals relating to levels and their names. Thanks to Alex Gaynor for the patch. http://hg.python.org/cpython/rev/5629bf4c6bba -- nosy: +python-dev resolut

[issue18046] Simplify and clarify logging internals

2013-05-23 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18046] Simplify and clarify logging internals

2013-05-23 Thread Alex Gaynor
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. --