[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

Brett Cannon report at bugs.python.org
Thu Apr 19 16:19:08 CEST 2012


Brett Cannon <brett at python.org> added the comment:

Should we limit ourselves to bound errors? Couldn't we make the macros aliases for their full-fledged function equivalents (e.g. PyTuple_SetItem()) which trigger Py_FatalError() on error so we also get argument type checking?

----------
nosy: +brett.cannon

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14614>
_______________________________________


More information about the Python-bugs-list mailing list