[issue11633] regression: print buffers output when end=''
Amaury Forgeot d'Arc
report at bugs.python.org
Tue Mar 22 18:28:31 CET 2011
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
We are talking about different things here:
- When python is run from a console, sys.stdout is line buffered. sys.stdout.write() flushes if there is a carriage return. No need to change anything here.
- print() could call file.flush() if file.isatty(), *after* the multiple calls to file.write().
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11633>
_______________________________________
More information about the Python-bugs-list
mailing list