Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: The attached patch calls "if file.isatty(): file.flush()" at the end of the print function: - only when an "end" argument was specified - errors in file.isatty() are ignored (and then no flush occurs)
---------- keywords: +patch Added file: http://bugs.python.org/file21349/print-flush.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com