New submission from Antoine Pitrou <pit...@free.fr>:

In issue13597, Philip Jenvey points out:

“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”

Recent changes to the IO stack should allow stderr to be opened in fully 
unbuffered mode (and open(..., 'w', buffering=0) can be allowed too). Or at 
least it could be always line-buffered, even when redirected to a file.

----------
components: IO, Interpreter Core, Library (Lib)
messages: 149447
nosy: benjamin.peterson, gvanrossum, pitrou, pjenvey, stutzbach
priority: normal
severity: normal
stage: needs patch
status: open
title: sys.stderr should be unbuffered (or always line-buffered)
type: behavior
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to