This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients alex, christian.heimes, erlendaasland, petr.viktorin, pitrou, serhiy.storchaka, skrah, vstinner
Date 2021-12-08.16:50:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638982248.54.0.895344411975.issue45459@roundup.psfhosted.org>
In-reply-to
Content
> Py_buffer data = {NULL, NULL};
> The code initializes Py_buffer.buf and Py_buffer.obj as NULL. The remaining fields are whatever random values happens to be on the C stack.

The C language sets other members to 0/NULL with this syntax, no?
History
Date User Action Args
2021-12-08 16:50:48vstinnersetrecipients: + vstinner, pitrou, christian.heimes, alex, petr.viktorin, skrah, serhiy.storchaka, erlendaasland
2021-12-08 16:50:48vstinnersetmessageid: <1638982248.54.0.895344411975.issue45459@roundup.psfhosted.org>
2021-12-08 16:50:48vstinnerlinkissue45459 messages
2021-12-08 16:50:48vstinnercreate