Message151119
I am not discussing "printing to file", so my 0.02 is that "flush=True" should be made default for print() with sys.stdout, because it is probably what users expect when calling this function.
If somebody needs buffering/cache or more fine-grained control over output, they are free to use sys.stdout.write/flush directly.
And users won't be happy to wrap every print() into try/catch to guard from the flush exceptions. |
|
Date |
User |
Action |
Args |
2012-01-12 08:24:56 | techtonik | set | recipients:
+ techtonik, gvanrossum, georg.brandl, terry.reedy, pitrou, giampaolo.rodola, cameron, Arfrever |
2012-01-12 08:24:56 | techtonik | set | messageid: <1326356696.77.0.0528592500709.issue13761@psf.upfronthosting.co.za> |
2012-01-12 08:24:56 | techtonik | link | issue13761 messages |
2012-01-12 08:24:55 | techtonik | create | |
|