##// END OF EJS Templates
Merge pull request #998 from minrk/homedir...
Merge pull request #998 from minrk/homedir defer to stdlib os.path.expanduser('~') for path.get_home_dir() frozen env still comes first, and My Documents registry query is fallback on Windows, but in all normal cases, expanduser is used, which has $HOME as first priority. IPython also no longer considers finding no writable home dir as a fatal error. closes #810 closes #747 closes #970

File last commit:

r4767:6c940b74
r5391:351c8fc4 merge
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 = []