[issue35199] Convert PyTuple_GET_ITEM() macro to a function call with additional checks in debug mode

STINNER Victor report at bugs.python.org
Fri Nov 9 11:05:18 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Copy of my comment:
https://github.com/python/cpython/pull/10435#issuecomment-437405620

This change breaks the backward compatibility when a C extension is compiled with Py_DEBUG. So I'm not sure that it should be merged into Python 3.8. Maybe we should add a new opt-in experimental option to enable it, instead of Py_DEBUG?

----------

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


More information about the Python-bugs-list mailing list