]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40421: Add PyFrame_GetBack() function (GH-19765)
authorVictor Stinner <vstinner@python.org>
Wed, 29 Apr 2020 01:28:46 +0000 (03:28 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Apr 2020 01:28:46 +0000 (03:28 +0200)
commit703647732359200c54f1d2e695cc3a06b9a96c9a
treef0ccd7a79f270fe9d7c3cba896461f3f7528131b
parent66abe98a816de84f89e2de4aa78cf09056227c25
bpo-40421: Add PyFrame_GetBack() function (GH-19765)

New PyFrame_GetBack() function: get the frame next outer frame.

Replace frame->f_back with PyFrame_GetBack(frame) in most code but
frameobject.c, ceval.c and genobject.c.
Doc/c-api/reflection.rst
Doc/whatsnew/3.9.rst
Include/cpython/frameobject.h
Misc/NEWS.d/next/C API/2020-04-28-19-29-36.bpo-40421.3uIIaB.rst [new file with mode: 0644]
Modules/_tracemalloc.c
Objects/frameobject.c
Python/_warnings.c
Python/sysmodule.c
Python/traceback.c