Nov. 23, 2012
8:58 p.m.
Antoine Pitrou 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.
Ach :-(
PEP-3118 Py_buffer structs are essentially how NumPy works internally.
Well, we should still write a Python documentation, not a NumPy documentation (on this tracker anyway). Outside of NumPy, there's little use for multi-dimensional objects. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16518> _______________________________________