Author skrah
Recipients pitrou, skrah
Date 2019-02-02.09:59:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549101565.98.0.339852204821.issue35845@roundup.psfhosted.org>
In-reply-to
Content
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()).
History
Date User Action Args
2019-02-02 09:59:27skrahsetrecipients: + skrah, pitrou
2019-02-02 09:59:25skrahsetmessageid: <1549101565.98.0.339852204821.issue35845@roundup.psfhosted.org>
2019-02-02 09:59:25skrahlinkissue35845 messages
2019-02-02 09:59:25skrahcreate