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 skrah
Recipients lazka, skrah
Date 2017-05-31.17:23:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496251434.82.0.670546783726.issue30527@psf.upfronthosting.co.za>
In-reply-to
Content
"Py_buffer view" needs to go into the exporting object.  That object needs  a getbufferproc().  That getbufferproc() can use  PyBuffer_FillInfo() to fill in the view that is now kept alive because it's in the object.

The object then supports the buffer protocol and memoryviews can be created automatically from the Python level without any further C code.
History
Date User Action Args
2017-05-31 17:23:54skrahsetrecipients: + skrah, lazka
2017-05-31 17:23:54skrahsetmessageid: <1496251434.82.0.670546783726.issue30527@psf.upfronthosting.co.za>
2017-05-31 17:23:54skrahlinkissue30527 messages
2017-05-31 17:23:54skrahcreate