'Internal function.'

def _report_exception(self):

    import sys
    (exc, val, tb) = (sys.exc_type, sys.exc_value, sys.exc_traceback)
    root = self._root()
    root.report_callback_exception(exc, val, tb)
