[docs] [issue11633] regression: print buffers output when end=''

Amaury Forgeot d'Arc report at bugs.python.org
Wed Mar 23 00:27:16 CET 2011


Amaury Forgeot d'Arc <amauryfa at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11633>
_______________________________________


More information about the docs mailing list