Message334739
Yes, following NumPy looks like the sanest option for tobytes(), so I
went ahead and implemented that signature.
memory.raw() is of course complicated by the fact that things like
m[::-1] move buf.ptr to the end of the buffer.
So we'd need to restrict to contiguous views anyway, which makes
the method less appealing (IOW, it doesn't offer more than an
augmented memoryview.cast()). |
|
Date |
User |
Action |
Args |
2019-02-02 09:59:27 | skrah | set | recipients:
+ skrah, pitrou |
2019-02-02 09:59:25 | skrah | set | messageid: <1549101565.98.0.339852204821.issue35845@roundup.psfhosted.org> |
2019-02-02 09:59:25 | skrah | link | issue35845 messages |
2019-02-02 09:59:25 | skrah | create | |
|