ipython/ipython — pull request #2255 by minrk (2012-08-04 23:58:48+00:00)
Title: better flush iopub with AsyncResults

requesting metadata (e.g. ar.data or ar.stdout) will result in flushing iopub if the outputs are incomplete, so separate wait(0) need not be called.

This also applies the workaround discussed in #2215

I'm not sure if it should close #2215, because the underlying cause there remains unknown.