Luk Knapen <luk.kna...@telenet.be> added the comment: File $python/lib/python3.0/logging/handlers.py Line 782 : a bytes object is required instead of a string. As a consequence, encoding shall be specified : but which one ?
Is : self.socket.sendto(msg, self.address) Should look like : self.socket.sendto(bytes(msg,'ascii'), self.address) ---------- nosy: +lukknapen versions: +Python 3.1 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5421> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com