From 7d49969097005036dc644b54d3ea85db9fde3674 2013-01-29 04:06:41 From: MinRK Date: 2013-01-29 04:06:41 Subject: [PATCH] s/make_kernel_cmd/make_ipkernel_cmd/ --- diff --git a/IPython/zmq/entry_point.py b/IPython/zmq/entry_point.py index ab66e0e..df7f179 100644 --- a/IPython/zmq/entry_point.py +++ b/IPython/zmq/entry_point.py @@ -97,8 +97,8 @@ def write_connection_file(fname=None, shell_port=0, iopub_port=0, stdin_port=0, return fname, cfg -def make_kernel_cmd(code, executable=None, extra_arguments=[], **kw): - """ Launches a localhost kernel, binding to the specified ports. +def make_ipkernel_cmd(code, executable=None, extra_arguments=[], **kw): + """Build Popen command list for launching an IPython kernel. Parameters ---------- diff --git a/IPython/zmq/kernelmanager.py b/IPython/zmq/kernelmanager.py index 5ec6399..b1c18f9 100644 --- a/IPython/zmq/kernelmanager.py +++ b/IPython/zmq/kernelmanager.py @@ -42,7 +42,7 @@ from IPython.utils.traitlets import ( from IPython.utils.py3compat import str_to_bytes from IPython.zmq.entry_point import ( write_connection_file, - make_kernel_cmd, + make_ipkernel_cmd, launch_kernel, ) from session import Session @@ -902,7 +902,7 @@ class KernelManager(Configurable): if self.kernel_cmd: cmd = self.kernel_cmd else: - cmd = make_kernel_cmd( + cmd = make_ipkernel_cmd( 'from IPython.zmq.ipkernel import main; main()', **kw )