(original) (raw)
On 17 Jan, 2012, at 11:59, anatoly techtonik wrote:
If you track this more closely, you'll notice there are four issues (surprises) from the user point of view:1\. print() buffers output on Python32\. print() also buffers output on Python2, but only on Linux3\. there is some useless '-u' command line parameter(useless, because the last thing user wants is not only care about Python 2/3, but also how to invoke them)4\. print() is not guilty - it is sys.stdout.write() that buffers output1-2 discussion was about idea to make new print() function behavior more 'pythonic', i.e. 'user-friendly' or just KISS, which resulted in adding a flush parameter3 is a just a side FYI remark4 doesn't relate to python-ideas anymore about fixing print() - it is about the \*cause\* of the problem with print() UX, which is underlying sys.stdout.write() behaviorI asked 4 here, because it is the more appropriate place not only to ask if it can be/will be fixed, but also why. The target audience of the question are developers.
Ronald