Re: [Cython] [cython] Stopgap solution for NumPy 1.7 API changes (#99)

2012-03-28 Thread Dag Sverre Seljebotn
The idea really was that it would never stop working, but could in time be replaced by other features that would make this implementable in the pxd (like inlineable properties on extension types, typed tuples or lists). Consider it speeding up the ndarray Python API, not providing any C API. No

Re: [Cython] [cython] Stopgap solution for NumPy 1.7 API changes (#99)

2012-03-28 Thread Stefan Behnel
Dag Sverre Seljebotn, 21.03.2012 22:36: > NumPy is starting to seriously deprecating access to the member fields > in an ndarray (it was always frowned upon, but now it is starting to > become enforced). To support the large body of Cython code out there > accessing these fields (arr.shape[0] and s