Lines Matching defs:traceback
7 ugly stuff with the Python traceback system in order to achieve tracebacks
14 import traceback
37 """Proxies a traceback frame."""
81 """Holds a Jinja preprocessed traceback for printing or reraising."""
84 assert frames, 'no frames for this traceback?'
98 """Return a string with the traceback."""
99 lines = traceback.format_exception(self.exc_type, self.exc_value,
104 """Return a unicode string with the traceback as rendered HTML."""
125 # the frame will be an actual traceback (or transparent proxy) if
133 """Creates a processed traceback object from the exc_info."""
144 """Rewrites a syntax error to please traceback systems."""
287 # execute the code and catch the new traceback
300 traceback objects. The function returned allows resetting `tb_next` on
301 any python traceback object. Do not attempt to use this on non cpython
346 """Set the tb_next attribute of a traceback object."""
349 raise TypeError('tb_set_next arguments must be traceback objects')