File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
IPython/html/static/notebook/js Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ define([
5959 this . keyboard_manager = options . keyboard_manager ;
6060 this . save_widget = options . save_widget ;
6161 this . tooltip = new tooltip . Tooltip ( this . events ) ;
62+ // default_kernel_name is a temporary measure while we implement proper
63+ // kernel selection and delayed start. Do not rely on it.
64+ this . default_kernel_name = 'python' ;
6265 // TODO: This code smells (and the other `= this` line a couple lines down)
6366 // We need a better way to deal with circular instance references.
6467 this . keyboard_manager . notebook = this ;
@@ -1498,7 +1501,7 @@ define([
14981501 // For now, create all sessions with the 'python' kernel, which is the
14991502 // default. Later, the user will be able to select kernels. This is
15001503 // overridden if KernelManager.kernel_cmd is specified for the server.
1501- kernel_name : 'python' ,
1504+ kernel_name : this . default_kernel_name ,
15021505 notebook : this } ) ;
15031506
15041507 this . session . start ( $ . proxy ( this . _session_started , this ) ) ;
You can’t perform that action at this time.
0 commit comments