[issue13761] Add flush keyword to print()

Terry J. Reedy report at bugs.python.org
Wed Jan 11 20:28:07 CET 2012


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I added a couple of lines to the 3.2, 3.3 print doc in #11633. When a change is made here, they could be updated to something like:
"Output buffering is normally determined by *file*. Use flush=True to force immediate output to a device such as a screen."

Unless there is a good reason, I prefer, unlike the other params, *not* allowing flush=None as a synonym for flush=<the default, ie False>.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13761>
_______________________________________


More information about the Python-bugs-list mailing list