Show More
@@ -98,6 +98,7 b' app_aliases = dict(' | |||||
98 | existing = 'IPythonConsoleApp.existing', |
|
98 | existing = 'IPythonConsoleApp.existing', | |
99 | f = 'IPythonConsoleApp.connection_file', |
|
99 | f = 'IPythonConsoleApp.connection_file', | |
100 |
|
100 | |||
|
101 | kernel = 'IPythonConsoleApp.kernel_name', | |||
101 |
|
102 | |||
102 | ssh = 'IPythonConsoleApp.sshserver', |
|
103 | ssh = 'IPythonConsoleApp.sshserver', | |
103 | ) |
|
104 | ) | |
@@ -174,6 +175,9 b' class IPythonConsoleApp(ConnectionFileMixin):' | |||||
174 | existing = CUnicode('', config=True, |
|
175 | existing = CUnicode('', config=True, | |
175 | help="""Connect to an already running kernel""") |
|
176 | help="""Connect to an already running kernel""") | |
176 |
|
177 | |||
|
178 | kernel_name = Unicode('native', config=True, | |||
|
179 | help="""The name of the default kernel to start.""") | |||
|
180 | ||||
177 | confirm_exit = CBool(True, config=True, |
|
181 | confirm_exit = CBool(True, config=True, | |
178 | help=""" |
|
182 | help=""" | |
179 | Set to display confirmation dialog on exit. You can always use 'exit' or 'quit', |
|
183 | Set to display confirmation dialog on exit. You can always use 'exit' or 'quit', | |
@@ -335,6 +339,7 b' class IPythonConsoleApp(ConnectionFileMixin):' | |||||
335 | stdin_port=self.stdin_port, |
|
339 | stdin_port=self.stdin_port, | |
336 | hb_port=self.hb_port, |
|
340 | hb_port=self.hb_port, | |
337 | connection_file=self.connection_file, |
|
341 | connection_file=self.connection_file, | |
|
342 | kernel_name=self.kernel_name, | |||
338 | parent=self, |
|
343 | parent=self, | |
339 | ) |
|
344 | ) | |
340 | self.kernel_manager.client_factory = self.kernel_client_class |
|
345 | self.kernel_manager.client_factory = self.kernel_client_class |
General Comments 0
You need to be logged in to leave comments.
Login now