消息 [166012]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-07-21 11:41:16 | skrah | 修改 | recipients:
+ skrah, ncoghlan, pitrou, vstinner, christian.heimes, meador.inge, python-dev |
| 2012-07-21 11:41:15 | skrah | 修改 | messageid: <1342870875.94.0.962676510061.issue12834@psf.upfronthosting.co.za> |
| 2012-07-21 11:41:15 | skrah | 链接 | issue12834 messages |
| 2012-07-21 11:41:15 | skrah | 创建 | |
|