[issue6991] logging encoding failes some situation
Naoki INADA
report at bugs.python.org
Fri Sep 25 19:58:43 CEST 2009
Naoki INADA <songofacandy at gmail.com> added the comment:
OK, you're right.
But logging is very basic feature and used very wide modules.
"All logging code should use unicode string" is right but difficult.
And logging may be used for debbuging usually. So I think
logging should write log as safe as possible.
When log.error(...) called, no-one wants UnicodeDecodeError
from logging in their log.
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6991>
_______________________________________
More information about the Python-bugs-list
mailing list