On 01.03.2012 17:18, Dag Sverre Seljebotn wrote:
I'm anyway leaning towards deprecating arr.data, as it's too different
from what the Python attribute does.
This should be preferred, I think
&arr[0]
or
<char*> &arr[0]
The latter is exacty what arr.data will currently do in Cython (but not
in Python).
But there is code in SciPy that depends on the arr.data attribute in
Cython, such as cKDTree.
Sturla
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel