STINNER Victor <vstin...@python.org> added the comment:

I marked bpo-38818 "Modify PyInterpreterState.eval_frame to pass tstate 
(PyThreadState)" as a duplicate of this issue.

It has been said earlier that if we choose to add a public C API to set the 
frame evaluation function, it's better to design it properly from the start: so 
include tstate.

See https://vstinner.github.io/cpython-pass-tstate.html for the rationale 
behind passing tstate everywhere. See also multiple discussions on python-dev 
about passing explicitly tstate.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38500>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to