##// 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:

r10447:853e909f
r15680:3bf75e6e
Show More
display.py
16 lines | 638 B | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.core.display import *
from IPython.lib.display import *