diff options
author | Victor Stinner <vstinner@python.org> | 2022-04-01 08:55:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 08:55:00 (GMT) |
commit | f877b40e3f7e0d97878884d80fbec879a85ab7e8 (patch) | |
tree | 13a96fd70e9ccecd730d5cdd3c52b1303645f23b /Doc/whatsnew | |
parent | b9a5522dd952125a99ff554f01f311cae25f5a91 (diff) | |
download | cpython-f877b40e3f7e0d97878884d80fbec879a85ab7e8.zip cpython-f877b40e3f7e0d97878884d80fbec879a85ab7e8.tar.gz cpython-f877b40e3f7e0d97878884d80fbec879a85ab7e8.tar.bz2 |
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.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 15f765d..1580867 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -1102,6 +1102,12 @@ Porting to Python 3.11 is part of the internal C API. (Contributed by Victor Stinner in :issue:`46850`.) +* 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. + (Contributed by Victor Stinner in :issue:`46850`.) Deprecated ---------- |