SilentGhost <michael.mischurow+...@gmail.com> added the comment: patch for Doc/library/logging.rst
Also, note the the change of the mode from `'r'` to `'rb'`. `data_to_send` is further send through socket and therefore requires to be bytes. I expressed my opinion in irc, but I can repeat here that I think only the most trivial code such as in Doc/library/pipes.rst isn't worth converting. ---------- Added file: http://bugs.python.org/file19671/logging.rst.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10461> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com