Sturla Molden wrote:
> Neal Becker skrev:
>> I haven't been able to find any doc about this "The boolean that comes after 
>> the address in the 'data' tuple, says that the ndarray does not own the 
>> memory. "
> Oops!!! The boolean is a read-only flag for the data. Thus False 
> indicates read-write access.
> 
> Anyhow, it seems the __array_interface__ is deprecated in favour of PEP 
> 3118.
> 
> http://docs.scipy.org/doc/numpy/reference/arrays.interface.html
> http://www.python.org/dev/peps/pep-3118/
> 
> Though I am not sure how to use PEP 3118 from plain Python, if it's even 
> possible. Annoying mess...

NumPy doesn't support PEP 3118 yet.

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to