[issue26200] SETREF adds unnecessary work in some cases

STINNER Victor report at bugs.python.org
Mon Nov 9 09:27:40 EST 2020


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

I wrote PR 23209 to add Py_SetRef() and Py_XSetRef() functions to the limited C API and the stable ABI. Py_SETREF() and Py_XSETREF() macros are excluded from the limited C API and some extension modules cannot use them, like extension modules written in Rust.

----------

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


More information about the Python-bugs-list mailing list