◐ Shell
clean mode source ↗

Message 239032 - Python tracker

> In a sense, the old behavior was an artefact of silently copying the memoryview to bytes.

It likely wasn't intentional, but tobytes() *is* used to serialize
weird arrays to their C-contiguous representation (following the
logical structure of the array rather than the physical one).

Since the gzip docs don't help much, I guess the new behavior is
probably okay.