[issue16653] reference kept in f_locals prevents the tracing/profiling of a destructor
Xavier de Gaye
report at bugs.python.org
Sun Dec 9 23:07:45 CET 2012
Xavier de Gaye added the comment:
Tracing/profiling is disabled when tstate->tracing is true or
tstate->use_tracing is false. The proposed patch fixes the problem by reducing
the scope where this condition is true.
As a consequence call_trace, profile_trampoline, trace_trampoline and
call_trampoline may now be called recursively.
The patch includes a test case.
----------
keywords: +patch
Added file: http://bugs.python.org/file28270/issue_16653.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16653>
_______________________________________
More information about the Python-bugs-list
mailing list