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

Serhiy Storchaka report at bugs.python.org
Sun Dec 9 02:07:07 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I think we can break this only after adding public API for accessing internal storage of a tuple: PyTuple_ITEMS().

And the same for lists.

----------

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


More information about the Python-bugs-list mailing list