[Numpy-discussion] __array__struct__: about using PyCapsule instead of PyCObject for Python 2.7

Lisandro Dalcin dalcinl@gmail....
Tue Jun 29 21:21:41 CDT 2010


Do we really need this for NumPy 2? What about using the old PyCObject
for all Py 2.x versions? If this is not done, perhaps NumPy 2 on top
of Py 2.x should still accept the __array_struct__ being a PyCObject?

As reference, Cython still uses PyCObject for Py<3.1
http://hg.cython.org/cython-devel/rev/8a58f1544bd8#l1.33 .

-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the NumPy-Discussion mailing list