No obvious way of getting PyFrameObject inside a frame evaluation function in Python 3.11

If you are writing a PEP based debugger in C, you probably want to operate on the _PyInterpreterFrame struct, rather than the PyFrameObject.

I’ve opened Issue #103609 to track the issue of PyEval_GetFrame()returning the previous frame.