Author serhiy.storchaka
Recipients benjamin.peterson, pitrou, serhiy.storchaka, stutzbach
Date 2017-05-19.15:52:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495209125.34.0.468493818937.issue30404@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-19 15:52:05serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, benjamin.peterson, stutzbach
2017-05-19 15:52:05serhiy.storchakasetmessageid: <1495209125.34.0.468493818937.issue30404@psf.upfronthosting.co.za>
2017-05-19 15:52:05serhiy.storchakalinkissue30404 messages
2017-05-19 15:52:05serhiy.storchakacreate