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 pitrou
Recipients kermode, ncoghlan, pitrou, teoliphant
Date 2010-10-01.18:53:38
SpamBayes Score 1.4050805e-07
Marked as misclassified No
Message-id <1285959223.2.0.126242848304.issue9990@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that fixes the issue. Can you try it?

Unfortunately, more advanced uses such a slicing the memoryview are still crashing. 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).
History
Date User Action Args
2010-10-01 18:53:43pitrousetrecipients: + pitrou, teoliphant, ncoghlan, kermode
2010-10-01 18:53:43pitrousetmessageid: <1285959223.2.0.126242848304.issue9990@psf.upfronthosting.co.za>
2010-10-01 18:53:41pitroulinkissue9990 messages
2010-10-01 18:53:41pitroucreate