Hi, 11.06.2012 21:16, mark florisson kirjoitti: [clip] > Yeah, there was some weird bug with PyIndex_Check() not operating > properly. Could you retry with the latest master?
Doesn't seem to work in 5a0effd0 :( Traceback (most recent call last): File "<stdin>", line 1, in ? File "fail.pyx", line 10, in fail.foo (fail.c:1807) print _foo() File "fail.pyx", line 7, in fail._foo (fail.c:1747) return np.asarray(a) File "/usr/local/stow/python-easy-install//lib/python2.4/site-packages/numpy/core/numeric.py", line 235, in asarray return array(a, dtype, copy=False, order=order) File "stringsource", line 366, in View.MemoryView.memoryview.__getitem__ (fail.c:6019) File "stringsource", line 650, in View.MemoryView._unellipsify (fail.c:9199) TypeError: Cannot index with type '<type 'int'>' Cheers, Pauli _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel