[issue16482] pdb.set_trace() clobbering traceback on error

Xavier de Gaye report at bugs.python.org
Fri Apr 12 17:28:37 CEST 2013


Xavier de Gaye added the comment:

The last patch proposed at issue 17277 and named traced_frame.patch
fixes also issue 17697, and issues 7238, 16482. IMHO one should remove
the assumption in PyFrame_GetLineNumber() that f_lineno is correct
when f_trace is not NULL, as there does not seem to be a way to remove
the local trace function of a generator frame. The traced_frame patch
does that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16482>
_______________________________________


More information about the Python-bugs-list mailing list