[Cython] cython doesn't compile cdef'd variables of type set?
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Oct 2 06:06:42 CEST 2008
Lisandro Dalcin wrote:
> Mmm.. Perhaps some black magic in Cython? "i" is being used, and the
> generated code interprets this as a return flag for errors, with
> checks like if(unlikely(__pyx_1 == -1))) ...
On further investigation, it seems it doesn't make a
difference in this situation. But "r" is conceptually
more correct, and it may become important in a future
version of Pyrex.
--
Greg
More information about the Cython-dev
mailing list