Lines Matching defs:traceback
103 import traceback
246 Return a string containing a traceback message for the given
249 # Get a traceback message.
252 traceback.print_exception(exc_type, exc_val, exc_tb, file=excout)
446 from stdout, or a traceback in case of exception). `want` ends
454 `traceback.format_exception_only()`. `exc_msg` ends with a
604 # - the traceback header line (`hdr`)
605 # - the traceback stack (`stack`)
607 # traceback.format_exception_only()
610 # character following the traceback header line.
612 # Grab the traceback header. Different versions of Python have
613 # said different things on the first traceback line.
725 # If `want` contains a traceback message, then extract it.
1373 exc_msg = traceback.format_exception_only(*exception[:2])[-1]
1788 >>> raise exc_info[1] # Already has the traceback
2266 >>> raise exc_info[1] # Already has the traceback