Hello,
I was learning Cython from this tutorial when I noticed a glitch:
Near the end, after boundscheck False, some variables are changed to
unsigned int. But this has unexpected consequences: variables t_from and such
are not determined correctly, as one of the arguments is negative, but gets
Emmanuel Gil Peyrot schrieb am 03.11.2015 um 07:37:
> This makes properties work at all, in cdef classes, and gives them
> almost the same features as the “property something:” blocks.
Superseded by
https://github.com/cython/cython/pull/462
Stefan
___
Carlos Pita schrieb am 06.11.2015 um 20:12:
> Say you define:
>
> def f(*ts):
> ts = (t for t in ts)
> list(ts)
>
> def g(*ts):
> list(t for t in ts)
>
> def h(*ts):
> list((t for t in ts))
>
> Then f(1,2,3) will fail with "Generator already executing" while g(1,2,3)
> and h(1,2