[issue16689] stdout stderr redirection mess

Charles-François Natali report at bugs.python.org
Sat Dec 22 18:55:44 CET 2012


Charles-François Natali added the comment:

To be more specific, for performance reasons, you definitely don't
want stdout to be line buffered when redirected to a file, but fully
buffered.
It makes sense to have stderr unbuffered or line buffered either way
to make sure that errors get printed - right away.
See http://www.delorie.com/gnu/docs/glibc/libc_226.html for an explanation.

----------

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


More information about the Python-bugs-list mailing list