Skip to content

Commit

Permalink
Merge pull request #762 from Carreau/deprecated
Browse files Browse the repository at this point in the history
Stop using deprecated recv_multipart when using in-process socket.
  • Loading branch information
minrk authored Sep 7, 2021
2 parents d14db6a + 168548e commit c810559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/inprocess/ipkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _redirected_io(self):
def _io_dispatch(self, change):
""" Called when a message is sent to the IO socket.
"""
ident, msg = self.session.recv(self.iopub_socket, copy=False)
ident, msg = self.session.recv(self.iopub_socket.io_thread.socket, copy=False)
for frontend in self.frontends:
frontend.iopub_channel.call_handlers(msg)

Expand Down

0 comments on commit c810559

Please sign in to comment.