[New-bugs-announce] [issue38818] Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)

STINNER Victor report at bugs.python.org
Fri Nov 15 19:11:33 EST 2019


New submission from STINNER Victor <vstinner at python.org>:

Follow-up of bpo-36710 and bpo-38644: I would like to pass explicitly tstate (PyThreadState) to internal C functions.

The problem is that PyInterpreterState.eval_frame function has no tstate parameter. I propose attached PR to add a tstate parameter. It's a backward incompatible change. The "eval_frame" field comes from the PEP 523.

See also bpo-38500 "Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals".

----------
components: Interpreter Core
messages: 356736
nosy: brett.cannon, vstinner
priority: normal
severity: normal
status: open
title: Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38818>
_______________________________________


More information about the New-bugs-announce mailing list