SIGN IN SIGN UP

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().
V
Victor Stinner committed
0b72b23fb0c130279f65f3bcd23521acf4a98c88
Parent: c846ef0
Committed by GitHub <noreply@github.com> on 3/12/2020, 10:18:39 PM