You are viewing an older version (9.3.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.3.0 / IPython / core / interactiveshell / InteractiveShell / atexit_operations

function

IPython.core.interactiveshell:InteractiveShell.atexit_operations

source: /IPython/core/interactiveshell.py :4035

Signature

def   atexit_operations ( self )

Summary

This will be executed at the time of exit.

Extended Summary

Cleanup operations and saving of persistent data that is done unconditionally by IPython should be performed here.

For things that may depend on startup flags or platform specifics (such as having readline or not), register a separate atexit function in the code that has the appropriate information, rather than trying to clutter

Aliases

  • IPython.InteractiveShell.atexit_operations