The help string for ipython kernel -f states the following:
JSON file in which to store connection info [default: kernel-.json]
This file will contain the IP, ports, and authentication key needed to
connect clients to this kernel. By default, this file will be created in the
security dir of the current profile, but can be specified by absolute path.
However, when passed an already populated connection file, the created kernel seems to instead use the information stored in it, instead of overwriting it.
Not really a big deal functionality-wise. That's the ~sane thing to do and also what Jupyter Notebook kinda assumes. But the help string is incredibly misleading here, especially if someone tries to reference IPython kernel implementation when building his own.
The help string for
ipython kernel -f
states the following:However, when passed an already populated connection file, the created kernel seems to instead use the information stored in it, instead of overwriting it.
Not really a big deal functionality-wise. That's the ~sane thing to do and also what Jupyter Notebook kinda assumes. But the help string is incredibly misleading here, especially if someone tries to reference IPython kernel implementation when building his own.
Sysinfo
Example connection file