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

STINNER Victor report at bugs.python.org
Thu Oct 12 11:27:40 EDT 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

> 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.

The last sentence is wrong and should be removed from sys.stdin documentation, no?

----------

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


More information about the Python-bugs-list mailing list