Skip to content

Always use ZMQ stream not socket in dispatch_shell#1432

Closed
ianthomas23 wants to merge 1 commit intoipython:mainfrom
ianthomas23:dispatch_shell_stream_not_socket
Closed

Always use ZMQ stream not socket in dispatch_shell#1432
ianthomas23 wants to merge 1 commit intoipython:mainfrom
ianthomas23:dispatch_shell_stream_not_socket

Conversation

@ianthomas23
Copy link
Collaborator

Currently using a ZMQ socket not stream here:

stream = self.shell_channel_thread.manager.get_subshell_to_shell_channel_socket(

which can cause problems downstream (e.g. in qtconsole, jupyterlab) when a stream is expected rather than a socket. So here switching to using a stream. This uses an optional SocketPair.from_stream which is only used for the main/subshell to shell channel socket pairs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant