[New-bugs-announce] [issue30404] Make stdout and stderr truly unbuffered when run with the -u option
Serhiy Storchaka
report at bugs.python.org
Fri May 19 11:52:05 EDT 2017
New submission from Serhiy Storchaka:
In Python 2 when run the interpreter with the -u option the stdout and stderr streams are unbuffered. In Python 3 they become just line-buffered. This is because initially there was no way to create unbuffered text streams. But since Python 3.3 TextIOWrapper supports unbuffered output binary stream and accepts the write_through argument which switch off its own buffering.
Proposed patch makes the stdout and stderr streams truly unbuffered when run with the -u option.
----------
components: IO, Interpreter Core
messages: 293960
nosy: benjamin.peterson, pitrou, serhiy.storchaka, stutzbach
priority: normal
severity: normal
stage: patch review
status: open
title: Make stdout and stderr truly unbuffered when run with the -u option
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30404>
_______________________________________
More information about the New-bugs-announce
mailing list