Skip to content

Commit c810559

Browse files
authored
Merge pull request #762 from Carreau/deprecated
Stop using deprecated recv_multipart when using in-process socket.
2 parents d14db6a + 168548e commit c810559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/inprocess/ipkernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _redirected_io(self):
131131
def _io_dispatch(self, change):
132132
""" Called when a message is sent to the IO socket.
133133
"""
134-
ident, msg = self.session.recv(self.iopub_socket, copy=False)
134+
ident, msg = self.session.recv(self.iopub_socket.io_thread.socket, copy=False)
135135
for frontend in self.frontends:
136136
frontend.iopub_channel.call_handlers(msg)
137137

0 commit comments

Comments
 (0)