[issue38500] Provide a way to get/set PyInterpreterState.frame_eval without needing to access interpreter internals

STINNER Victor report at bugs.python.org
Fri Nov 22 08:39:33 EST 2019


STINNER Victor <vstinner at python.org> added the comment:

New question: if we add a public API to Python 3.8.1, would it make sense to directly change eval_frame type to add a new "tstate" parameter? See bpo-38818 for the rationale.

I already proposed a change for the master branch: https://github.com/python/cpython/pull/17187

Maybe I should combine PR 17340 (add PyInterpreterState_SetEvalFrameFunc()) with PR 17187 (add tstate parameter).

----------

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


More information about the Python-bugs-list mailing list