[issue13761] Add flush keyword to print()

Cameron Simpson report at bugs.python.org
Thu Jan 12 02:12:36 CET 2012


Cameron Simpson <cs at zip.com.au> added the comment:

I'm against ignoring a flush failure. What happened to "errors should never pass silently"? IMO, if we get as far as calling flush and having an exception occur, a "more interesting error" hasn't yet occurred.

I really dislike things that fail silently. If the caller asks print to flush, and the flush fails, the caller's request has not been met. The caller needs to know or incorrect behaviour can ensue.

----------

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


More information about the Python-bugs-list mailing list