[Numpy-discussion] Array Interface updated (original) (raw)

Travis Oliphant oliphant.travis at ieee.org
Tue Jun 13 21:41:36 EDT 2006


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

http://numeric.scipy.org/array_interface.html

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 spelled:

array_ --> array_interface['']

-Travis



More information about the NumPy-Discussion mailing list