]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91248: Add PyFrame_GetVar() function (#95712)
authorVictor Stinner <vstinner@python.org>
Tue, 8 Nov 2022 16:40:27 +0000 (17:40 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Nov 2022 16:40:27 +0000 (17:40 +0100)
commit4d5fcca273b24a5566f1507758e5aae60cdf8a98
treeac00d021776bd95cddd48ca272e07d8711d73922
parentacf4d5d5bdecbc8756276731e09bae245d88518d
gh-91248: Add PyFrame_GetVar() function (#95712)

Add PyFrame_GetVar() and PyFrame_GetVarString() functions to get a
frame variable by its name.

Move PyFrameObject C API tests from test_capi to test_frame.
Doc/c-api/frame.rst
Doc/whatsnew/3.12.rst
Include/cpython/pyframe.h
Lib/test/test_capi.py
Lib/test/test_frame.py
Misc/NEWS.d/next/C API/2022-08-05-15-26-12.gh-issue-91248.ujirJJ.rst [new file with mode: 0644]
Modules/_testcapimodule.c
Objects/frameobject.c