This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.
If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).
An application for IPython.
All top-level applications should use the classes in this module for handling configuration and creating configurables.
The job of an
Application is to create the master configuration
object and then create the configurable objects, passing the config to them.
ProfileAwareConfigLoader(filename, path=None, **kw)¶
A Python file config loader that is aware of IPython profiles.
excepthook(etype, evalue, tb)¶
this is sys.excepthook after init_crashhandler
set self.verbose_crash=True to use our full crashhandler, instead of a regular traceback with a short message (crash_handler_lite)
[optionally] copy default config files into profile dir.
Create a crash handler, typically setting sys.excepthook to it.
initialize the profile dir
Load the config file.
By default, errors in loading config are handled, and a warning printed on screen. For testing, the suppress_errors option is set to False, so errors will make tests fail.
supress_errorsdefault value is to be
Nonein which case the behavior default to the one of
- The default value can be set :
Falseby setting ‘IPYTHON_SUPPRESS_CONFIG_ERRORS’ environment variable to ‘0’, or ‘false’ (case insensitive).
Trueby setting ‘IPYTHON_SUPPRESS_CONFIG_ERRORS’ environment variable to ‘1’ or ‘true’ (case insensitive).
Noneby setting ‘IPYTHON_SUPPRESS_CONFIG_ERRORS’ environment variable to ‘’ (empty string) or leaving it unset.
Any other value are invalid, and will make IPython exit with a non-zero return code.
auto generate default config file, and stage it into the profile.