Message166012
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. |
|
Date |
User |
Action |
Args |
2012-07-21 11:41:16 | skrah | set | recipients:
+ skrah, ncoghlan, pitrou, vstinner, christian.heimes, meador.inge, python-dev |
2012-07-21 11:41:15 | skrah | set | messageid: <1342870875.94.0.962676510061.issue12834@psf.upfronthosting.co.za> |
2012-07-21 11:41:15 | skrah | link | issue12834 messages |
2012-07-21 11:41:15 | skrah | create | |
|