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 christian.heimes
Recipients alex, christian.heimes, erlendaasland, petr.viktorin, pitrou, serhiy.storchaka, skrah, vstinner
Date 2021-12-08.14:33:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638974011.9.0.431176885511.issue45459@roundup.psfhosted.org>
In-reply-to
Content
After some consideration I also agree with Antoine. The Py_buffer API has been around for a long time without any changes to the Py_buffer struct. It is unlikely that the struct will ever change.

I have created a new PR that exposes Py_buffer struct, PyBuffer_*() API functions, PyBUF_* constants, Py_bf_* type slots, and PyMemoryView_FromBuffer(). We could consider to export PyPickleBuffer*() API, too.
History
Date User Action Args
2021-12-08 14:33:31christian.heimessetrecipients: + christian.heimes, pitrou, vstinner, alex, petr.viktorin, skrah, serhiy.storchaka, erlendaasland
2021-12-08 14:33:31christian.heimessetmessageid: <1638974011.9.0.431176885511.issue45459@roundup.psfhosted.org>
2021-12-08 14:33:31christian.heimeslinkissue45459 messages
2021-12-08 14:33:31christian.heimescreate