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 mark.dickinson
Recipients kermode, mark.dickinson, ncoghlan, pitrou, teoliphant
Date 2010-12-17.00:19:06
SpamBayes Score 2.2049146e-06
Marked as misclassified No
Message-id <1292545149.15.0.061493271366.issue9990@psf.upfronthosting.co.za>
In-reply-to
Content
> That's because the new buffer protocol doesn't define ownership of
> Py_buffer structs. As a result, nothing can be assumed at to which
> piece of code is responsible for allocation and deallocation of
> related memory areas (such as shapes and strides arrays).

I was just chatting to Travis about this;  he suggested that the 'internal' field of the Py_buffer struct might be used to record who's responsible for deallocation of shape and stride arrays.
History
Date User Action Args
2010-12-17 00:19:09mark.dickinsonsetrecipients: + mark.dickinson, teoliphant, ncoghlan, kermode, pitrou
2010-12-17 00:19:09mark.dickinsonsetmessageid: <1292545149.15.0.061493271366.issue9990@psf.upfronthosting.co.za>
2010-12-17 00:19:06mark.dickinsonlinkissue9990 messages
2010-12-17 00:19:06mark.dickinsoncreate