The fact that PyObject* is a real pointer to some runtime data-structure can be (ab)used in many ways. Those may slowly become part of the contract of the C API even if not intended. First problem is ...
When trying to use Perf without frame pointers on the latest kernel 6.18.0-0.rc0 the Python functions are not shown in the Perf output. def foo(n): result = 0 for _ in range(n): result += 1 return ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results