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

2013-12-14 Thread Alexander Belopolsky
On Sat, Dec 14, 2013 at 2:59 PM, David Cournapeau wrote: > There is indeed no support in NumPy for this. Unfortunately, fixing this > would be a significant amount of work, as buffer management is not really > abstracted in NumPy ATM. While providing a full support for indirect buffers as a stor

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

2013-12-14 Thread David Cournapeau
On Sat, Dec 14, 2013 at 7:39 PM, Alexander Belopolsky wrote: > 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 at

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

2013-12-14 Thread Alexander Belopolsky
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