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 malin
Recipients malin
Date 2022-04-02.06:28:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
`bytes(m)` can be replaced by memoryview.cast('B'), then no need for data copying.

        m = memoryview(buf)
        # HACK for byte-indexing of non-bytewise buffers (e.g. array.array)
        if m.itemsize > 1:
            m = memoryview(bytes(m))
        n = len(m)
Date User Action Args
2022-04-02 06:28:23malinsetrecipients: + malin
2022-04-02 06:28:23malinsetmessageid: <>
2022-04-02 06:28:23malinlinkissue47199 messages
2022-04-02 06:28:23malincreate