STINNER Victor <vstin...@redhat.com> added the comment:

> This is compatibility breaking change.

Right. The question is if you are ok with it :-)

> Currently you can get the address of the array of tuple items by using 
> &PyTuple_GET_ITEM(obj, 0).

I don't get your point. I know that you access directly obj->ob_item to use 
directly the C array rather than PyTuple_GET_ITEM/PyTuple_SET_ITEM, but the 
issue is about making PyTuple_GET_ITEM/PyTuple_SET_ITEM stricter in debug mode.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35337>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to