Hi all, A while ago there was a question on how to define ndarrays in a pure Python annotated module. I thought it should be pretty easy to get this working by simply defining a new type in Shadow.py, and using syntax such as
@python.locals(arr=cython.ndarray(dtype=float, ndim=2)) but now I have no idea what to return from cython.ndarray.__call__, since the ndarray type is normally cimported from numpy.pxd. Any tips? Regards Stéfan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
