Re: [Numpy-discussion] problem with numpy/cython on python3, ok with python2

2010-11-20 Thread Pauli Virtanen
On Sat, 20 Nov 2010 10:01:50 -0500, Darren Dale wrote: > I just installed numpy for both python2 and 3 from an up-to-date > checkout of the 1.5.x branch. > > I am attempting to cythonize the following code with cython-0.13: I think you should ask on the Cython list -- I don't think this issue in

[Numpy-discussion] problem with numpy/cython on python3, ok with python2

2010-11-20 Thread Darren Dale
I just installed numpy for both python2 and 3 from an up-to-date checkout of the 1.5.x branch. I am attempting to cythonize the following code with cython-0.13: --- cimport numpy as np import numpy as np def test(): cdef np.ndarray[np.float64_t, ndim=1] ret ret_arr = np.zeros((20,), dtype=