We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1dce80 commit 56fdee2Copy full SHA for 56fdee2
ipykernel/kernelapp.py
@@ -331,7 +331,7 @@ def init_sockets(self):
331
self.shell_port = self._bind_socket(self.shell_socket, self.shell_port)
332
self.log.debug("shell ROUTER Channel on port: %i" % self.shell_port)
333
334
- self.stdin_socket = context.socket(zmq.ROUTER)
+ self.stdin_socket = zmq.Context(context).socket(zmq.ROUTER)
335
self.stdin_socket.linger = 1000
336
self.stdin_port = self._bind_socket(self.stdin_socket, self.stdin_port)
337
self.log.debug("stdin ROUTER Channel on port: %i" % self.stdin_port)
0 commit comments