[Numpy-discussion] Does NumPy support indirect memory views?

Alexander Belopolsky ndarray at mac.com
Sat Dec 14 14:39:50 EST 2013


PEP 3118 [1] allows exposing multi-dimensional data that is organized as
array of pointers.  It appears, however that NumPy cannot consume such
memory views.

Looking at _array_from_buffer_3118() function [2], I don't see any attempt
to process suboffsets.   The documentation [3] is also silent on this issue.

What is the status of indirect memory views/buffers support in NumPy?


[1] http://www.python.org/dev/peps/pep-3118/
[2]
https://github.com/numpy/numpy/blob/4050ac73af79ae8cc513648ff02e9a22041501c4/numpy/core/src/multiarray/ctors.c#L1253
[3] http://docs.scipy.org/doc/numpy/reference/arrays.interface.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131214/8a5dc933/attachment.html>


More information about the NumPy-Discussion mailing list