##// END OF EJS Templates
Fix another small bug in stripping kernel args...
Fix another small bug in stripping kernel args Problem case: flags and aliases with the same name (e.g. existing) would attempt removal twice, raising ValueError closes gh-906

File last commit:

r4767:6c940b74
r5145:bae849b4
Show More
ipython_config.py
11 lines | 348 B | text/x-python | PythonLexer
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 = []