def _exception_handler(debugger, exc_info):
 tb = exc_info[2]
 ignored_traceback = get_ignored_traceback(tb)
 if ignored_traceback:
  tb = FilteredTraceback(tb, ignored_traceback)
 traceback.print_exception(exc_info[0], exc_info[1], tb)
 debugger.post_mortem(tb)

def _exception_handler ( debugger , exc_info ) : tb = exc_info [ 2 ] ignored_traceback = get_ignored_traceback ( tb ) if ignored_traceback : tb = FilteredTraceback ( tb , ignored_traceback ) traceback . print_exception ( exc_info [ 0 ] , exc_info [ 1 ] , tb ) debugger . post_mortem ( tb )
exception handler enabling post-mortem debugging .