[issue28647] python --help: -u is misdocumented as binary mode

Berker Peksag report at bugs.python.org
Thu Oct 12 10:38:09 EDT 2017


Berker Peksag <berker.peksag at gmail.com> added the comment:

> -u doesn't affect stdin buffering, whatever that would mean.

I think we need to document behavior of stdin somewhere, because current the sys.stdin documentation states:

> When interactive, standard streams are line-buffered. Otherwise, they
> are block-buffered like regular text files. You can override this value
> with the -u command-line option.

https://docs.python.org/3/library/sys.html#sys.stdin

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28647>
_______________________________________


More information about the Python-bugs-list mailing list