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 techtonik
Recipients Arfrever, cameron, georg.brandl, giampaolo.rodola, gvanrossum, pitrou, techtonik, terry.reedy
Date 2012-01-12.08:24:55
SpamBayes Score 0.03914021
Marked as misclassified No
Message-id <1326356696.77.0.0528592500709.issue13761@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-01-12 08:24:56techtoniksetrecipients: + techtonik, gvanrossum, georg.brandl, terry.reedy, pitrou, giampaolo.rodola, cameron, Arfrever
2012-01-12 08:24:56techtoniksetmessageid: <1326356696.77.0.0528592500709.issue13761@psf.upfronthosting.co.za>
2012-01-12 08:24:56techtoniklinkissue13761 messages
2012-01-12 08:24:55techtonikcreate