[Cython] cython doesn't compile cdef'd variables of type set?
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Oct 2 04:40:19 CEST 2008
Robert Bradshaw wrote:
> On Oct 1, 2008, at 2:25 PM, didier deshommes wrote:
>
> > I'm especially curious about the "OO" and "i" stuff.
>
> "OO" means PyList_Append takes two arguments of type O = object. "i"
> means the return value is an int (for error checking, never actually
> revealed to Python).
That should really be "r", not "i" ("r" is an int used only
to signal an error, "i" is an actual int to be used).
There's a comment at the top of TypeSlots.py explaining
what all the letters mean.
--
Greg
More information about the Cython-dev
mailing list