[New-bugs-announce] [issue46781] Tracing: c_return doesn't report the result
report at bugs.python.org
Thu Feb 17 13:08:22 EST 2022
New submission from Matthias Urlichs <matthias at urlichs.de>:
When tracing/profiling, the "return" event reports the value returned by the exiting function.
However, this does not work for C functions. The profiler's "c_return" hook is called with the same C function object as "c_call". This unnecessarily complicates debugging and should be fixed.
components: C API
title: Tracing: c_return doesn't report the result
versions: Python 3.10, Python 3.11
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce