]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42990: Introduce 'frame constructor' struct to simplify API for PyEval_CodeEval...
authorMark Shannon <mark@hotpy.org>
Fri, 29 Jan 2021 13:24:55 +0000 (13:24 +0000)
committerGitHub <noreply@github.com>
Fri, 29 Jan 2021 13:24:55 +0000 (13:24 +0000)
commitd6c33fbd346765c6a8654dccacb2338006bf2b47
tree857d7b70431dc74ca9b68e5ce1d56953f19f8d77
parent23a567c11ca36eedde0e119443c85cc16075deaf
bpo-42990: Introduce 'frame constructor' struct to simplify API for PyEval_CodeEval and friends (GH-24298)

* Introduce 'frame constructor' to simplify API for frame creation

* Embed struct using a macro to conform to PEP 7
Include/cpython/frameobject.h
Include/funcobject.h
Include/internal/pycore_ceval.h
Lib/test/test_sys.py
Objects/call.c
Objects/frameobject.c
Objects/funcobject.c
Python/ceval.c