Ezio Melotti added the comment: > A workaround is to perform sys.stdout.flush() before > sys.stdout.buffer.write().
FWIW you can just use print(..., flush=True) from 3.3+. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18512> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com