bpo-40421: Add PyFrame_GetCode() function (GH-19757)
PyFrame_GetCode(frame): return a borrowed reference to the frame code. Replace frame->f_code with PyFrame_GetCode(frame) in most code, except in frameobject.c, genobject.c and ceval.c. Also add PyFrame_GetLineNumber() to the limited C API.
V
Victor Stinner committed
a42ca74fa30227e2f89a619332557cf093a937d5
Parent: b8f704d
Committed by GitHub <noreply@github.com>
on 4/28/2020, 5:01:31 PM