[issue7077] SysLogHandler can't handle Unicode
Vinay Sajip
report at bugs.python.org
Wed Oct 7 23:15:20 CEST 2009
Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:
To do this in a non-arbitrary way, it would make sense for the
SysLogHandler (and perhaps the other socket-based handlers, too) to grow
an optional encoding argument to their constructors, to be used to
encode when converting from unicode to str (str -> bytes for Py3K).
How does that sound?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7077>
_______________________________________
More information about the Python-bugs-list
mailing list