bundles / IPython 9.14.0.dev / IPython / core / application / BaseIPythonApplication / load_config_file
function
IPython.core.application:BaseIPythonApplication.load_config_file
Signature
def load_config_file ( self , suppress_errors = None ) Summary
Load the config file.
Extended Summary
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.
suppress_errors default value is to be None in which case the behavior default to the one of traitlets.Application.
The default value can be set :
to
Falseby setting 'IPYTHON_SUPPRESS_CONFIG_ERRORS' environment variable to '0', or 'false' (case insensitive).to
Trueby setting 'IPYTHON_SUPPRESS_CONFIG_ERRORS' environment variable to '1' or 'true' (case insensitive).to
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.
Aliases
-
IPython.core.application.BaseIPythonApplication.load_config_file