Message149454
I *thought* I mimicked what C stdio did ~20 years ago... I'd be happy to follow what it does today if it changed or if I made a mistake.
That said, IMO:
Line-buffering should be good enough since in practice errors messages are always terminated by a newline.
I'm hesitant to make it line-buffered by default when directed to a file, since this could significantly slow down a program that for some reason produces super-voluminous output (e.g. when running a program with heavy debug logging turned on).
Maybe we need better command-line control to override the defaults? Are there precedents e.g. in Bash flags? |
|
Date |
User |
Action |
Args |
2011-12-14 15:29:54 | gvanrossum | set | recipients:
+ gvanrossum, pitrou, pjenvey, benjamin.peterson, stutzbach |
2011-12-14 15:29:54 | gvanrossum | set | messageid: <1323876594.8.0.471569022136.issue13601@psf.upfronthosting.co.za> |
2011-12-14 15:29:54 | gvanrossum | link | issue13601 messages |
2011-12-14 15:29:53 | gvanrossum | create | |
|