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 christian.heimes, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner
Date 2012-07-21.11:41:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342870875.94.0.962676510061.issue12834@psf.upfronthosting.co.za>
In-reply-to
Content
There is an additional problem with PyBuffer_ToContiguous():

Suppose 'view' is multi-dimensional, C-contiguous and initialized
according to PyBUF_ND, i.e. view->shape != NULL but view->strides == NULL.

Now if PyBuffer_ToContiguous() is called with 'F', PyBuffer_IsContiguous()
returns false and view->strides will be accessed.


This means that incomplete buffer information will have to be
reconstructed like it is done in the 3.3 memoryview.
History
Date User Action Args
2012-07-21 11:41:16skrahsetrecipients: + skrah, ncoghlan, pitrou, vstinner, christian.heimes, meador.inge, python-dev
2012-07-21 11:41:15skrahsetmessageid: <1342870875.94.0.962676510061.issue12834@psf.upfronthosting.co.za>
2012-07-21 11:41:15skrahlinkissue12834 messages
2012-07-21 11:41:15skrahcreate