Author martin.panter
Recipients cblp, dabeaz, eryksun, josh.r, martin.panter, pitrou, skrah
Date 2015-08-07.01:55:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Assuming Issue 23756 is resolved and various standard library functions are meant to work with any C-contiguous buffer, then it makes sense to me for memoryview.cast("B") to work for any C-contiguous buffer. I also got the impression that David, Yuriy, and Eryksun all support this.

I don’t understand why you wouldn’t want this behaviour. It seems pointless just to maintain symmetry with being unable to cast back to “<d”. And casting from e.g. floating point to bytes to integers already disregards the original data type, so casting from unsupported types to bytes should be no worse.
Date User Action Args
2015-08-07 01:55:16martin.pantersetrecipients: + martin.panter, pitrou, skrah, dabeaz, cblp, eryksun, josh.r
2015-08-07 01:55:16martin.pantersetmessageid: <>
2015-08-07 01:55:16martin.panterlinkissue15944 messages
2015-08-07 01:55:14martin.pantercreate