From fbf9e2e3777a779bc9ae4103f1cf04353b47afff 2012-05-13 22:09:33 From: MinRK Date: 2012-05-13 22:09:33 Subject: [PATCH] respect copy flag in Session.recv --- diff --git a/IPython/zmq/session.py b/IPython/zmq/session.py index 46eedd7..04d70d2 100644 --- a/IPython/zmq/session.py +++ b/IPython/zmq/session.py @@ -629,7 +629,7 @@ class Session(Configurable): if isinstance(socket, ZMQStream): socket = socket.socket try: - msg_list = socket.recv_multipart(mode) + msg_list = socket.recv_multipart(mode, copy=copy) except zmq.ZMQError as e: if e.errno == zmq.EAGAIN: # We can convert EAGAIN to None as we know in this case