Author gregory.p.smith
Recipients colesbury, gregory.p.smith, vstinner
Date 2020-03-31.19:21:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585682483.64.0.927583558911.issue40120@roundup.psfhosted.org>
In-reply-to
Content
"""
The [1] thing is used in more places:

 PyObject *f_localsplus[1]; in PyFrameObject
 PyObject *ob_item[1]; in PyTupleObject
 void *elements[1]; in asdl_seq and int elements[1];` in asdl_int_seq
 digit ob_digit[1]; in PyLongObject
 Py_ssize_t ob_array[1]; in PyMemoryViewObject
 _tracemalloc.c: frame_t frames[1]; in traceback_t

Do we need to update all of them? Do you want to update them all?
""" - vstinner

I believe we probably do.  But I suggest multiple PRs.  I'll update the issue title.

I'm also going to ask clang/llvm folks that prompted me to look into this for comments.
History
Date User Action Args
2020-03-31 19:21:23gregory.p.smithsetrecipients: + gregory.p.smith, vstinner, colesbury
2020-03-31 19:21:23gregory.p.smithsetmessageid: <1585682483.64.0.927583558911.issue40120@roundup.psfhosted.org>
2020-03-31 19:21:23gregory.p.smithlinkissue40120 messages
2020-03-31 19:21:23gregory.p.smithcreate