title: Is there a library for converting a traceback to its exception?
body: <p>Out of curiosity, is there a way to convert a printed traceback back to the exception that generated it or to a sys.exc_info like structure ?</p>