[issue30404] Make stdout and stderr truly unbuffered when using -u option

STINNER Victor report at bugs.python.org
Mon Jun 19 10:37:03 EDT 2017


STINNER Victor added the comment:

Hum. It has an huge impact on performances. Would it make sense to have two command line options to choose between unbuffered and line buffered?

The C setvbuf() function uses these constants:

              _IONBF unbuffered
              _IOLBF line buffered
              _IOFBF fully buffered

----------

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


More information about the Python-bugs-list mailing list