New submission from Florent Xicluna <florent.xicl...@gmail.com>: Following test case fails with a UnicodeDecodeError:
import logging import logging.config logging.getLogger("\xab\xd7\xbb") logging.getLogger(u"LOG") logging.config.dictConfig({'version': 1}) Same behavior on "non-ASCII" path buildbots, when test_lib2to3 is run before test_logging. It happens because "test_lib2to3" set a logger with key u"<string>". IMHO, it should be fixed in the logging module. ---------- assignee: vinay.sajip components: 2to3 (2.x to 3.0 conversion tool), Library (Lib) keywords: buildbot messages: 101497 nosy: benjamin.peterson, flox, haypo, vinay.sajip priority: normal severity: normal stage: test needed status: open title: test_logging fails if the loggerDict contains non-ASCII loggers. type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8201> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com