summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-12 22:18:39 (GMT)
committerGitHub <noreply@github.com>2020-03-12 22:18:39 (GMT)
commit0b72b23fb0c130279f65f3bcd23521acf4a98c88 (patch)
tree2e2bbdef31294861783eeea4da94a02b8715f4c9 /Doc/whatsnew/3.9.rst
parentc846ef004d79ee8e9645d3e5e8b3b0cb97b5013f (diff)
downloadcpython-0b72b23fb0c130279f65f3bcd23521acf4a98c88.zip
cpython-0b72b23fb0c130279f65f3bcd23521acf4a98c88.tar.gz
cpython-0b72b23fb0c130279f65f3bcd23521acf4a98c88.tar.bz2
bpo-38500: Add _PyInterpreterState_SetEvalFrameFunc() (GH-17340)
PyInterpreterState.eval_frame function now requires a tstate (Python thread state) parameter. Add private functions to the C API to get and set the frame evaluation function: * Add tstate parameter to _PyFrameEvalFunction function type. * Add _PyInterpreterState_GetEvalFrameFunc() and _PyInterpreterState_SetEvalFrameFunc() functions. * Add tstate parameter to _PyEval_EvalFrameDefault().
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 1434a9e..0b61fb8 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -487,6 +487,10 @@ Build and C API Changes
(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)
+* ``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory
+ *tstate* parameter (``PyThreadState*``).
+ (Contributed by Victor Stinner in :issue:`38500`.)
+
Deprecated
==========