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

A trace function may also be set in extension modules by PyEval_SetTrace() and 
it may not use f->f_trace. This is another reason why f->f_trace cannot be used 
in PyFrame_GetLineNumber() to know when f->f_lineno is valid.

----------

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

Reply via email to