3 ms·
Most likely because it was easier. It's definitely not a good choice but unfortunately `PyFrame_GetBack(PyFrameObject *)` exists as an API which makes it tricky
by the_mitsuhiko 5y ago
Most likely because it was easier. It's definitely not a good choice but unfortunately `PyFrame_GetBack(PyFrameObject *)` exists as an API which makes it tricky now to switch to something else as it must be possible to discover the previous frame from a frame. It's even exposed to userspace with `frameobject.f_back`.