STINNER Victor <vstin...@python.org> added the comment:
> One further step would be to change the VECTORCALL/FASTCALL calling > convention to pass tstate. But I am not sure what is the risk to do that in > Python 3.9? Cython uses FASTCALL internally for example. I started a thread on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/PIXJAJPWKDGHSQD65VOO2B7FDLU2QLHH/ I also wrote an article on this issue, "Pass the Python thread state explicitly": https://vstinner.github.io/cpython-pass-tstate.html ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38644> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com