From 720ee58dd4cfcae7c5ef0cbb8f825fb7bf004c11 2013-05-09 22:54:11 From: Brian E. Granger Date: 2013-05-09 22:54:11 Subject: [PATCH] Merge pull request #3281 from minrk/noparent fix ignored IOPub messages with no parent --- diff --git a/IPython/parallel/client/client.py b/IPython/parallel/client/client.py index a6f0289..bcd912b 100644 --- a/IPython/parallel/client/client.py +++ b/IPython/parallel/client/client.py @@ -853,6 +853,7 @@ class Client(HasTraits): # ignore IOPub messages with no parent. # Caused by print statements or warnings from before the first execution. if not parent: + idents,msg = self.session.recv(sock, mode=zmq.NOBLOCK) continue msg_id = parent['msg_id'] content = msg['content']