Stefan Krah added the comment:

I wouldn't use "bytes-like object". One can certainly argue that *memoryview*
should be bytes-like as a matter of preference, but the buffer protocol
specifies strongly (or even statically) typed multi-dimensional arrays.

PEP-3118 Py_buffer structs are essentially how NumPy works internally.

nosy: +skrah

Python tracker <>
Python-bugs-list mailing list

Reply via email to