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 <rep...@bugs.python.org> <http://bugs.python.org/issue16482> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com