Hi,

Prajwal Suhas P wrote:
> Here, i tested the 3 cases
> <1> for i in range(0, somefunc( ) , 1): <2> for i in range(0, 10, somefunc(
> )):
> <3> for i in range(somefunc( ), 10, 1):
> all work perfectly fine. So from this, i feel step need not be assigned to
> temp.
> 
>  cdef int g():
>     print "g called"
>     return 3
> 
> cdef f():
>     cdef int i
>     for i in range(0, 10, g()):     ----------> statement
>         print i
>     print i

Could you please make sure those three cases are covered by the test case?

Thanks,

Stefan

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

Reply via email to