New submission from STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38818>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to