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 martin.panter
Recipients larry, martin.panter, methane, python-dev, serhiy.storchaka, vstinner
Date 2017-02-02.12:24:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
FYI Victor, you can make non-C-contiguous buffers by slicing memoryview:

>>> struct.unpack(">L", memoryview(b"1234")[::-1])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
BufferError: memoryview: underlying buffer is not C-contiguous

Can also use the built-in _testbuffer module to create stranger buffers.
Date User Action Args
2017-02-02 12:24:31martin.pantersetrecipients: + martin.panter, vstinner, larry, methane, python-dev, serhiy.storchaka
2017-02-02 12:24:30martin.pantersetmessageid: <>
2017-02-02 12:24:30martin.panterlinkissue29300 messages
2017-02-02 12:24:30martin.pantercreate