Xavier de Gaye <xdeg...@gmail.com> added the comment:

The conditions used for the fix are still the same in 2.7: f->f_trace == NULL 
on a call event, f->f_lasti == -1 in a new frame and f->f_stacktop == NULL in a 
trace function with a non-line event except for yield statements.
There are minor differences: the YIELD_FROM opcode does not exist and 
function.__code__ is written as function.func_code.

Added a PR for 2.7.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue17288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to