Closed
Description
Continuing from #94936, we should make these APIs offer performance advantages in 3.12.
I want a better/more performant implementation for 3.12. It will cache the debug info in a lazy debug struct much like how we do it for
PyInterpreterFrame
andPyFrameObject
now.