Message248164
| 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 | <1438912516.17.0.807883745497.issue15944@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-08-07 01:55:16 | martin.panter | set | recipients: + martin.panter, pitrou, skrah, dabeaz, cblp, eryksun, josh.r |
| 2015-08-07 01:55:16 | martin.panter | set | messageid: <1438912516.17.0.807883745497.issue15944@psf.upfronthosting.co.za> |
| 2015-08-07 01:55:16 | martin.panter | link | issue15944 messages |
| 2015-08-07 01:55:14 | martin.panter | create | |