Message332751
memoryview.cast() was originally meant to be a faster version of tobytes(), which always converts to C-contiguous.
The 'shape' keyword was added because it is odd if you can cast from ND-C to 1D-Bytes but not back.
I'm not sure if we should introduce that feature, just pointing out that the original decision to exclude non 'C' views was deliberate. |
|
Date |
User |
Action |
Args |
2018-12-30 10:39:29 | skrah | set | recipients:
+ skrah, lgautier, mattip |
2018-12-30 10:39:27 | skrah | set | messageid: <1546166367.19.0.874083146821.issue34778@roundup.psfhosted.org> |
2018-12-30 10:39:27 | skrah | link | issue34778 messages |
2018-12-30 10:39:27 | skrah | create | |
|