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

Eryk Sun report at bugs.python.org
Wed Nov 9 06:04:55 EST 2016


Eryk Sun added the comment:

> It's not (currently) possible to have a fully unbuffered stdout.

Why doesn't create_stdio also pass `write_through = Py_True` when Py_UnbufferedStdioFlag is set? This would immediately pass writes through to the FileIO object, even without containing a newline (i.e. it sets text_needflush in _io_TextIOWrapper_write_impl).

----------
nosy: +eryksun

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


More information about the Python-bugs-list mailing list