[issue17277] incorrect line numbers in backtrace after removing a trace function
Xavier de Gaye
report at bugs.python.org
Sat Feb 23 15:34:38 CET 2013
Xavier de Gaye added the comment:
The patch (on the default branch) reverts one of the changes made in r72488 to
introduce the new PyFrame_GetLineNumber() function (issue 5954): tb_lineno is
now back again the result of the call to PyCode_Addr2Line() instead of the
call to PyFrame_GetLineNumber().
The other changes made by r72488 in _warnings.c and ceval.c should also
probably be reverted as well.
The patch updates bdb set_continue() for consistency.
The patch adds a test to test_sys_settrace.
----------
keywords: +patch
Added file: http://bugs.python.org/file29170/backtrace_lno.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17277>
_______________________________________
More information about the Python-bugs-list
mailing list