[issue12209] Minor edits to faulthandler doc
STINNER Victor
report at bugs.python.org
Mon May 30 02:23:36 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
What do you call a "stack trace"? I use this term in the C language, especially when using the "where" command of gdb. In Python, the stack trace is called a "traceback". Anyway, faulthandler prints the Python trace, not the C trace, so I prefer to call it a "traceback" than "stack trace".
faulthandler.dump_traceback() output is similar to:
try:
raise ValueError()
except:
exctype, value, tb = sys.exc_info()
traceback.print_tb(tb)
faulthandler doesn't print the line from the script, only the function name, file name and line number; and the first line is different.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12209>
_______________________________________
More information about the Python-bugs-list
mailing list