[issue30404] Make stdout and stderr truly unbuffered when run with the -u option

2017-05-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1762 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30404] Make stdout and stderr truly unbuffered when run with the -u option

2017-05-19 Thread Serhiy Storchaka
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 TextIOWrapp