Re: getting tracebacks from traceback objects

2005-06-24 Thread Kent Johnson
Michael P. Soulier wrote: Hello, For a GUI app I've tried resetting sys.excepthook to my own exceptionhandler bound method, which accepts a type, value and traceback object. Now, the traceback module has print_exc and format_exc methods that are supposed to take a traceback object and

getting tracebacks from traceback objects

2005-06-23 Thread Michael P. Soulier
Hello, For a GUI app I've tried resetting sys.excepthook to my own exceptionhandler bound method, which accepts a type, value and traceback object. Now, the traceback module has print_exc and format_exc methods that are supposed to take a traceback object and return a formatted traceback like