Senthil Kumaran <sent...@uthcode.com> added the comment: I agree with Chris's point that people using html format in console are probably redirecting to a file and encoding parameter should be helpful.
What do we settle upon? Leave the encoding argument as such? Antoine - I was specifically interested to know if sys.stdout.buffer.write as in the patch was good(/proper) way to go forward writing the bytes? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10087> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com