On 29Dec2008 11:11, Grebekel wrote:
| I have recently noticed that print statements ending with a comma are
| not immediately flushed.
I will warn you that neither are the more common uncommaed print
statements, except on a terminal.
| [...] Example:
|
| print 'Take a walk, because this will ta
I have recently noticed that print statements ending with a comma are
not immediately flushed. This is evident when such statement is
executed before a very long operation (a big loop for instance).
Example:
print 'Take a walk, because this will take a while...',
i = 0
while i < 10**10:
i +=