Deeper tracebacks?
R. Bernstein
rocky at panix.com
Fri Dec 12 23:14:53 EST 2008
More information about the Python-list mailing list
Fri Dec 12 23:14:53 EST 2008
- Previous message (by thread): Deeper tracebacks?
- Next message (by thread): Python, threading
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> writes: .. > No, last_traceback is the last *printed* traceback in the interactive > interpreter. Well more precisely the traceback that is passed to sys.excepthook() when an unhandled exception occcurs, since the hook that might not decide to print anything ;-) > Use the third element in sys.exc_info() instead: Hmm... I'm not sure what I was thinking when I read that way back when, but you are correct and caught a bug in my code. I really do need to do better about writing tests. Maybe next incarnation... Thanks.
- Previous message (by thread): Deeper tracebacks?
- Next message (by thread): Python, threading
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list