environment/lib/python2.7/site-packages/IPython/core/crashhandler.py
def crash_handler_lite(etype, evalue, tb):
    """a light excepthook, adding a small message to the usual traceback"""
    traceback.print_exception(etype, evalue, tb)
    
    from IPython.core.interactiveshell import InteractiveShell
    if InteractiveShell.initialized():
        # we are in a Shell environment, give %magic example
        config = "%config "
    else:
        # we are not in a shell, show generic config
        config = "c."
    print >> sys.stderr, _lite_message_template.format(email=author_email, config=config)
def crash_handler_lite(etype, evalue, tb):
    traceback.print_exception(etype, evalue, tb)
    
    from IPython.core.interactiveshell import InteractiveShell
    if InteractiveShell.initialized():
        # we are in a Shell environment, give %magic example
        config = "%config "
    else:
        # we are not in a shell, show generic config
        config = "c."
    print >> sys.stderr, _lite_message_template.format(email=author_email, config=config)
def crash_handler_lite ( etype , evalue , tb ) : traceback . print_exception ( etype , evalue , tb ) from IPython . core . interactiveshell import InteractiveShell if InteractiveShell . initialized ( ) : # we are in a Shell environment, give %magic example config = "%config " else : # we are not in a shell, show generic config config = "c." print >> sys . stderr , _lite_message_template . format ( email = author_email , config = config )
a light excepthook, adding a small message to the usual traceback
a light excepthook adding a small message to the usual traceback