def _show_internal_exc_dlg(self, exc_tuple):
    from traceback import format_exception
    from pudb import VERSION
    desc = 'Pudb has encountered and safely caught an internal exception.\n\nThe full traceback and some other information can be found below. Please report this information, along with details on what you were doing at the time the exception occurred, at: https://github.com/inducer/pudb/issues'
    error_info = 'python version: {python}\npudb version: {pudb}\nurwid version: {urwid}\n{tb}\n'.format(python=sys.version.replace('\n', ' '), pudb=VERSION, urwid='.'.join(map(str, urwid.version.VERSION)), tb=''.join(format_exception(*exc_tuple)))
    self._show_exception_dialog(description=desc, error_info=error_info, title='Pudb Internal Exception Encountered')
def _show_internal_exc_dlg(self, exc_tuple):
    from traceback import format_exception
    from pudb import VERSION
    desc = 'Pudb has encountered and safely caught an internal exception.\n\nThe full traceback and some other information can be found below. Please report this information, along with details on what you were doing at the time the exception occurred, at: https://github.com/inducer/pudb/issues'
    error_info = 'python version: {python}\npudb version: {pudb}\nurwid version: {urwid}\n{tb}\n'.format(python=sys.version.replace('\n', ' '), pudb=VERSION, urwid='.'.join(map(str, urwid.version.VERSION)), tb=.join(format_exception(*exc_tuple)))
    self._show_exception_dialog(description=desc, error_info=error_info, title='Pudb Internal Exception Encountered')