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 lgautier, mattip, skrah
Date 2018-12-30.10:39:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:29skrahsetrecipients: + skrah, lgautier, mattip
2018-12-30 10:39:27skrahsetmessageid: <>
2018-12-30 10:39:27skrahlinkissue34778 messages
2018-12-30 10:39:27skrahcreate