Vinay Sajip <vinay_sa...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7077> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com