##// END OF EJS Templates
add early shutdown detection, and public-ip message to ipcluster/ipengine...
add early shutdown detection, and public-ip message to ipcluster/ipengine When engines fail to connect, the error message will describe the most likely cause (not instructing the controller to listen on a public interface). An similar message is included in ipcluster, but due to restrictions, its trigger is purely time-based.

File last commit:

r4767:6c940b74
r5205:b85092ac
Show More
ipython_config.py
11 lines | 348 B | text/x-python | PythonLexer
Thomas Kluyver
Safer loading of default config inside Python 3 config.
r4767 c = get_config()
# If the master config file uses syntax that's invalid in Python 3, we'll skip
# it and just use the factory defaults.
try:
load_subconfig('ipython_config.py', profile='default')
except Exception:
pass
else:
# We reset exec_lines in case they're not compatible with Python 3.
c.InteractiveShellApp.exec_lines = []