Message 139826 - Python tracker (original) (raw)

On Tue, Jul 5, 2011 at 12:36 AM, Pauli Virtanen <report@bugs.python.org> wrote:

Slicing memoryviews can invalidate the contiguity flags, and no-strides flags, so some checks are still probably needed in memory_getbuf.

That makes sense, so just as memoryview has its own shape and strides data, it will also need its own flags data that starts as a copy of that in the original buffer, but may be subsequently modified.