tracebacks in embedded python

Mike Müller mmueller at dgfz.de
Wed Jul 9 11:08:31 EDT 2003


When I embed Python into C there is no traceback message on the screen
after an uncaught exception. Using sys.exc_info() I can print may own
traceback but I would need to insert try except statements at
different places. Is there a way to "turn on" traceback writing to
std.err (that also shows up at the screen)?

Thanks

Mike




More information about the Python-list mailing list