docstr: 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)
docstr_tok: ["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",")"]
code: def excepthook(self, 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)
      """
  
      if self.verbose_crash:
          return self.crash_handler(etype, evalue, tb)
      else:
          return crashhandler.crash_handler_lite(etype, evalue, tb)
  
imports: import atexit
  from copy import deepcopy
  import logging
  import os
  import shutil
  import sys
  from pathlib import Path
  from traitlets.config.application import Application, catch_config_error
  from traitlets.config.loader import ConfigFileNotFound, PyFileConfigLoader
  from IPython.core import release, crashhandler
  from IPython.core.profiledir import ProfileDir, ProfileDirError
  from IPython.paths import get_ipython_dir, get_ipython_package_dir
  from IPython.utils.path import ensure_dir_exists
  from traitlets import List, Unicode, Type, Bool, Set, Instance, Undefined, default, observe
label_desc: Use image node_id 11 for calling the BaseIPythonApplication obj's underlying member method code with example usage: obj.excepthook(etype, evalue, tb) and returns: self, crashhandler