##// END OF EJS Templates
cleanup kernelspec loading...
cleanup kernelspec loading - kernel_selector.set_kernel validates selection and triggers 'spec_changed.Kernel'. It does not start the session anymore. - notebook calls kernel_selector.set_kernel when: - kernelspec is in notebook metadata - session is loaded (e.g. no kernelspec metadata) - notebook starts session, loads metadata on spec_changed.kernel The only case where starting the session is not triggered by spec_changed is on notebook load with no kernel metadata

File last commit:

r10582:07f00631
r19886:9443bd65
Show More
kernel.py
12 lines | 253 B | text/x-python | PythonLexer
MinRK
move IPython.lib.kernel to IPython.utils.kernel...
r9351 """[DEPRECATED] Utilities for connecting to kernels
MinRK
add IPython.lib.kernel...
r4970
MinRK
split kernel.util into kernel.connect and kernel.launcher
r9355 Moved to IPython.kernel.connect
MinRK
add IPython.lib.kernel...
r4970 """
MinRK
move IPython.lib.kernel to IPython.utils.kernel...
r9351 import warnings
MinRK
remove reference to nonexistent 0.14 in deprecation warning
r10582 warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0",
MinRK
move IPython.lib.kernel to IPython.utils.kernel...
r9351 DeprecationWarning
)
MinRK
add IPython.lib.kernel...
r4970
MinRK
split kernel.util into kernel.connect and kernel.launcher
r9355 from IPython.kernel.connect import *
MinRK
Split swallow_argv into standalone function in lib.kernel...
r5620