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 ncoghlan
Recipients ncoghlan, pitrou, rupole
Date 2010-11-03.12:51:50
SpamBayes Score 2.026169e-05
Marked as misclassified No
Message-id <1288788712.4.0.755696279881.issue10181@psf.upfronthosting.co.za>
In-reply-to
Content
It doesn't help that neither PEP 3118 nor the Py_buffer docs mention the "obj" member of the Py_buffer struct that refers back to the original object providing the buffer - that's fairly fundamental to understanding how PyBuffer_Release and PyMemoryView_FromBuffer can work even in theory.

(Given that, an additional _PyManagedBuffer object shouldn't be necessary - MemoryView just needs to call ReleaseBuffer and GetBuffer at the appropriate times)
History
Date User Action Args
2010-11-03 12:51:52ncoghlansetrecipients: + ncoghlan, rupole, pitrou
2010-11-03 12:51:52ncoghlansetmessageid: <1288788712.4.0.755696279881.issue10181@psf.upfronthosting.co.za>
2010-11-03 12:51:50ncoghlanlinkissue10181 messages
2010-11-03 12:51:50ncoghlancreate