Chris Colbert skrev: > Where did Stefan mention anything about indexing? > > NumPy uses npy_intp* for defining array shapes, among other things.... > > Yes, and that is a mistake. An array size is an offset to a pointer, it is not a pointer. Thus you need an integer long enough to hold an offset, not an integer long enough to hold a pointer. On segment-and-offset architectures, pointers and offsets don't have to be of the same length.
S.M. _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
