Ezio Melotti <ezio.melo...@gmail.com> added the comment: BTW, accessing sys.stdout.buffer is not really safe, because if sys.stdout has been replaced with some other object, the buffer attribute might not be available (IIRC StringIO doesn't have it).
---------- _______________________________________ 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