summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-20 14:51:45 (GMT)
committerGitHub <noreply@github.com>2020-03-20 14:51:45 (GMT)
commitfd1e1a18fa3befe5b6eeac32e0561e15c7e5164b (patch)
tree06a32a688ef6d88553386ec2710eecc5fd246226 /Doc/whatsnew
parentd83168854e19d0381fa57db25fca6c622917624f (diff)
downloadcpython-fd1e1a18fa3befe5b6eeac32e0561e15c7e5164b.zip
cpython-fd1e1a18fa3befe5b6eeac32e0561e15c7e5164b.tar.gz
cpython-fd1e1a18fa3befe5b6eeac32e0561e15c7e5164b.tar.bz2
bpo-39947: Add PyThreadState_GetFrame() function (GH-19092)
Add PyThreadState_GetFrame() function: get the current frame of a Python thread state.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index ac5d317..3e30f84 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -427,6 +427,9 @@ Build and C API Changes
* New :c:func:`PyThreadState_GetInterpreter` and
:c:func:`PyInterpreterState_Get` functions to get the interpreter.
+ New :c:func:`PyThreadState_GetFrame` function to get the current frame of a
+ Python thread state.
+ (Contributed by Victor Stinner in :issue:`39947`.)
* Add ``--with-platlibdir`` option to the ``configure`` script: name of the
platform-specific library directory, stored in the new :attr:`sys.platlibdir`