Show More
@@ -455,7 +455,7 b' class IPythonQtConsoleApp(BaseIPythonApplication):' | |||||
455 | self.kernel_manager = QtKernelManager( |
|
455 | self.kernel_manager = QtKernelManager( | |
456 | ip=self.ip, |
|
456 | ip=self.ip, | |
457 | shell_port=self.shell_port, |
|
457 | shell_port=self.shell_port, | |
458 |
|
|
458 | iopub_port=self.iopub_port, | |
459 | stdin_port=self.stdin_port, |
|
459 | stdin_port=self.stdin_port, | |
460 | hb_port=self.hb_port, |
|
460 | hb_port=self.hb_port, | |
461 | connection_file=cf, |
|
461 | connection_file=cf, |
@@ -709,7 +709,7 b' class KernelManager(HasTraits):' | |||||
709 | connection_file = Unicode('') |
|
709 | connection_file = Unicode('') | |
710 | ip = Unicode(LOCALHOST) |
|
710 | ip = Unicode(LOCALHOST) | |
711 | shell_port = Int(0) |
|
711 | shell_port = Int(0) | |
712 |
|
|
712 | iopub_port = Int(0) | |
713 | stdin_port = Int(0) |
|
713 | stdin_port = Int(0) | |
714 | hb_port = Int(0) |
|
714 | hb_port = Int(0) | |
715 |
|
715 | |||
@@ -793,12 +793,12 b' class KernelManager(HasTraits):' | |||||
793 | return |
|
793 | return | |
794 | self.connection_file,cfg = write_connection_file(self.connection_file, |
|
794 | self.connection_file,cfg = write_connection_file(self.connection_file, | |
795 | ip=self.ip, key=self.session.key, |
|
795 | ip=self.ip, key=self.session.key, | |
796 |
stdin_port=self.stdin_port, iopub_port=self. |
|
796 | stdin_port=self.stdin_port, iopub_port=self.iopub_port, | |
797 | shell_port=self.shell_port, hb_port=self.hb_port) |
|
797 | shell_port=self.shell_port, hb_port=self.hb_port) | |
798 | # write_connection_file also sets default ports: |
|
798 | # write_connection_file also sets default ports: | |
799 | self.shell_port = cfg['shell_port'] |
|
799 | self.shell_port = cfg['shell_port'] | |
800 | self.stdin_port = cfg['stdin_port'] |
|
800 | self.stdin_port = cfg['stdin_port'] | |
801 |
self. |
|
801 | self.iopub_port = cfg['iopub_port'] | |
802 | self.hb_port = cfg['hb_port'] |
|
802 | self.hb_port = cfg['hb_port'] | |
803 |
|
803 | |||
804 | self._connection_file_written = True |
|
804 | self._connection_file_written = True | |
@@ -1005,7 +1005,7 b' class KernelManager(HasTraits):' | |||||
1005 | if self._sub_channel is None: |
|
1005 | if self._sub_channel is None: | |
1006 | self._sub_channel = self.sub_channel_class(self.context, |
|
1006 | self._sub_channel = self.sub_channel_class(self.context, | |
1007 | self.session, |
|
1007 | self.session, | |
1008 |
(self.ip, self. |
|
1008 | (self.ip, self.iopub_port)) | |
1009 | return self._sub_channel |
|
1009 | return self._sub_channel | |
1010 |
|
1010 | |||
1011 | @property |
|
1011 | @property |
General Comments 0
You need to be logged in to leave comments.
Login now