|
Thanks for the pointer, I've now got this giving me the right line
number when an exception occurs, although I still get an empty stack
trace from print "Stack Trace:\n%s\n" % str(traceback.print_exc(2)) inside the excepthook. Any ideas why this is? Is there no traceback since the traceback was fed to the excepthook? Is there another way of getting the traceback like you see when the exception isn't caught? Thanks for the help. -h Hari Sekhon Peter Otten wrote: Hari Sekhon wrote: |
-- http://mail.python.org/mailman/listinfo/python-list
