ipython/ipython — pull request #2335 by minrk (2012-08-24 20:47:25+00:00)
Title: iostream._newbuffer starts auto-flush clock

This means that the timer runs between flush calls, rather than the previous logic where the timer started on the first print after each flush. The problem with the previous logic was that it meant the first message after any flush could *never* be displayed immediately without an explicit manual `stdout.flush()`.

The disadvantage of the new approach is that most cells with two or more print statements will result in at least two stdout messages, because when used interactively the first print statement will ~always trigger the flush_timeout logic.