Lisandro Dalcin wrote:
> Trying to cythonizing this:
>
> cdef int f() nogil:
>     cdef int i,j=0, n=3
>     for i in range(n):
>         j += 1
>     return j
>
>
> I get this failure... Is this possible and easy to fix ?
>   

Thanks, good point. This is now

http://trac.cython.org/cython_trac/ticket/205

I think it is definitely 0.12 stuff, so use a for-from construct if you 
need this for 0.11.

If you just want to run the refnanny, perhaps consider just disabling 
the line in the source raising the error on your local copy?

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to