Maybe I'm missing something, but here is a problem:
I'm tracing python code by C extensions and my trace function got PyFrameObject* frame. Now I want to process the frame by Python code(embedded or converted to C by Cython) but it deals with PyObject*.
How do I convert PyFrameObject* to PyObject*? I don't find appropriate convertion funciton in frameobject.h.
Thanks.