[docs] [issue13597] Improve documentation of stdout/stderr buffering in Python 3.x

Antoine Pitrou report at bugs.python.org
Wed Dec 14 14:07:43 CET 2011

Antoine Pitrou <pitrou at free.fr> added the comment:

> I'm surprised to hear that stderr is line buffered by default.
> Historically stderr is never buffered (at least on POSIX) and for good
> reason: errors should be seen immediately
> Was this an oversight in migrating stdin/out/err to the new io module?

Until recently it wasn't possible to have an unbuffered text stream with
the new io stack. Now it's possible in write-only mode, although the
open() builtin hasn't been updated for it.


Python tracker <report at bugs.python.org>

More information about the docs mailing list