This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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.
Date User Action Args
2017-05-19 15:52:05serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, benjamin.peterson, stutzbach
2017-05-19 15:52:05serhiy.storchakasetmessageid: <>
2017-05-19 15:52:05serhiy.storchakalinkissue30404 messages
2017-05-19 15:52:05serhiy.storchakacreate