[issue13601] sys.stderr should be unbuffered (or always line-buffered)

Antoine Pitrou report at bugs.python.org
Thu Dec 15 15:30:32 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Oops, I forgot the last two questions:

> Maybe we need better command-line control to override the defaults?

We already have -u to switch all stdio to unbuffered. This issue proposes to make stderr line-buffered/unbuffered by default, since it's less surprising than fully buffered.

> Are there precedents e.g. in Bash flags?

Well, `man bash` doesn't appear to say anything about stdio buffering.

----------

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


More information about the Python-bugs-list mailing list