This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / application / BaseIPythonApplication / load_config_file

function

IPython.core.application:BaseIPythonApplication.load_config_file

source: /IPython/core/application.py :320

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 False by setting 'IPYTHON_SUPPRESS_CONFIG_ERRORS' environment variable to '0', or 'false' (case insensitive).

  • to True by setting 'IPYTHON_SUPPRESS_CONFIG_ERRORS' environment variable to '1' or 'true' (case insensitive).

  • to None by 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