[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2019-01-11 Thread STINNER Victor
STINNER Victor added the comment: Since bpo-35337 has been rejected, I also close this issue. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2018-11-28 Thread STINNER Victor
STINNER Victor added the comment: Oh, I didn't know this old issue (6 years old). I wrote an implementation of this issue for PyTuple_GET_ITEM/SET_ITEM: bpo-35337. Would you mind to have a look? It seems to be backward incompatible when these macros are misused on structseq. --

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14614 ___

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-19 Thread Brett Cannon
Brett Cannon br...@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:

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-18 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Which it doesn't, as exemplified in e8c87226bcb3 :-) -- components: Interpreter Core messages: 158632 nosy: benjamin.peterson, ncoghlan, pitrou priority: low severity: normal status: open title: PyTuple_SET_ITEM could check bounds in

[issue14614] PyTuple_SET_ITEM could check bounds in debug mode

2012-04-18 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Also, PyList_SET_ITEM and friends. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14614 ___