STINNER Victor <victor.stin...@gmail.com> added the comment: Serhiy Storchaka: https://github.com/python/cpython/pull/3961#issuecomment-336136160
"I suggest to continue the discussion on the tracker." Ok, let's continue here. "We are fixing the outdated documentation inherited from Python 2. First than keep some statement we should consider what it means in the context of Python 2 and what it means in the context of Python 3." stdin buffering is a complex thing. When running the UNIX command "producer | consumer", many users are confused by the buffering on the *producer* side. When running a program in a TTY, the TTY does line buffering for you, you cannot get immediately a single character (without changing the default TTY configuration). I don't think that we need to say too much. I just suggest to say "stdin is always buffered". That's all. See my previous messages for the my definition of "buffered" versus "unbuffered" read. Note: Today I learned the UNIX "stdbuf" command, useful to configure the stdin, stdout and stderr buffering of C applications using <stdio.h>. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28647> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com