[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 19:36:49 EST 2018


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

Oops, I forgot to close the issue.

This change was an early attempt (tagged as WIP/DO-NOT-MERGE) to expriment changing the implementation without touching the API. But I was wrong, it does change the API (&PyTuple_GET_ITEM(ob, i) causes a compilation error) and so I closed my PR.

Instead, I opened a thread on python-dev to better explain the whole context and my intent:
https://mail.python.org/pipermail/python-dev/2018-November/155702.html

I invite everyone to discuss there instead :-)

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list