]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)
authorVictor Stinner <vstinner@python.org>
Fri, 1 Apr 2022 08:55:00 +0000 (10:55 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Apr 2022 08:55:00 +0000 (10:55 +0200)
commitf877b40e3f7e0d97878884d80fbec879a85ab7e8
tree13a96fd70e9ccecd730d5cdd3c52b1303645f23b
parentb9a5522dd952125a99ff554f01f311cae25f5a91
bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)

Move the private _PyFrameEvalFunction type, and private
_PyInterpreterState_GetEvalFrameFunc() and
_PyInterpreterState_SetEvalFrameFunc() functions to the internal C
API. The _PyFrameEvalFunction callback function type now uses the
_PyInterpreterFrame type which is part of the internal C API.

Update the _PyFrameEvalFunction documentation.
Doc/c-api/init.rst
Doc/whatsnew/3.11.rst
Include/cpython/pystate.h
Include/internal/pycore_interp.h
Include/internal/pycore_pystate.h
Misc/NEWS.d/next/C API/2022-03-22-16-59-34.bpo-46850.lmEKLy.rst [new file with mode: 0644]