##// END OF EJS Templates
Fix kernel restart in case connection file is deleted....
Fix kernel restart in case connection file is deleted. On Mac, the /tmp files are deleted after 3 days if inactivity, causing qtconsole kernel restart to fail subsequently. This commit adds check to ensure that connection_file is written if it does not exist.

File last commit:

r10582:07f00631
r15680:3bf75e6e
Show More
kernel.py
12 lines | 253 B | text/x-python | PythonLexer
"""[DEPRECATED] Utilities for connecting to kernels
Moved to IPython.kernel.connect
"""
import warnings
warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0",
DeprecationWarning
)
from IPython.kernel.connect import *