[Numpy-discussion] Array Interface updated

Travis Oliphant oliphant.travis at ieee.org
Tue Jun 13 20:41:36 CDT 2006

I've updated the description of the array interface (array protocol).  
The web-page is


Basically, the Python-side interface has been compressed to the single 
attribute __array_interface__.  There is still the __array_struct__ 
attribute which now has a descr member to the structure returned (but 
the ARR_HAS_DESCR flag must be set or it must be ignored).

NumPy has been updated so that the old Python-side attributes are now 

__array_<somename>__  --> __array_interface__['<somename>']


More information about the Numpy-discussion mailing list