[issue35337] Check index in PyTuple_GET_ITEM/PyTuple_SET_ITEM in debug mode

Stefan Krah report at bugs.python.org
Sun Dec 9 07:43:27 EST 2018


Stefan Krah <stefan at bytereef.org> added the comment:

Since this feature mainly helps when running a test suite using a debug build:

The same can be achieved by running the test suite under Valgrind, which catches invalid accesses and a lot more.

So I'd prefer to keep the macro in its current form.

----------

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


More information about the Python-bugs-list mailing list