[issue22386] Python 3.4 logging.getLevelName() no longer maps string to level.

2014-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset a4c5effb8698 by Vinay Sajip in branch '3.4': Issue #22386: fixed regression. http://hg.python.org/cpython/rev/a4c5effb8698 New changeset 070fed5b7b9d by Vinay Sajip in branch 'default': Closes #22386: merged fix from 3.4. http://hg.python.org/cpytho

[issue22386] Python 3.4 logging.getLevelName() no longer maps string to level.

2014-09-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +larry priority: normal -> release blocker versions: +Python 3.5 ___ Python tracker ___ ___ Pytho

[issue22386] Python 3.4 logging.getLevelName() no longer maps string to level.

2014-09-11 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22386] Python 3.4 logging.getLevelName() no longer maps string to level.

2014-09-10 Thread Alex Gaynor
Alex Gaynor added the comment: I believe something like the following diff restores the previous behavior (untested!): diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index a61c2b0..4a8f83e 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -129,7 +129,7 @@ def

[issue22386] Python 3.4 logging.getLevelName() no longer maps string to level.

2014-09-10 Thread Clark Boylan
New submission from Clark Boylan: Prior to http://hg.python.org/cpython/rev/5629bf4c6bba?revcount=60 logging.getLevelName(lvl) would map string lvl args like 'INFO' to the integer level value 20. After this change the string to int level mapping is removed and you can only map level to string.