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

bundles / IPython latest / IPython / core / interactiveshell / InteractiveShell / atexit_operations

function

IPython.core.interactiveshell:InteractiveShell.atexit_operations

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

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