Message293960
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:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, benjamin.peterson, stutzbach |
2017-05-19 15:52:05 | serhiy.storchaka | set | messageid: <1495209125.34.0.468493818937.issue30404@psf.upfronthosting.co.za> |
2017-05-19 15:52:05 | serhiy.storchaka | link | issue30404 messages |
2017-05-19 15:52:05 | serhiy.storchaka | create | |
|