[Pyrex] More on getting rid of Pyrex warnings

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 1 22:43:31 UTC 2007


Francesc Altet wrote:

> src/tableExtension.c:2812: warning:
> ‘__pyx_doc_14tableExtension_3Row___call__’ defined but not used
>
> i.e. it seems that special methods gives warnings. Any hint to remove
> them?

This seems to be because you've given them docstrings.
There's currently no way to attach docstrings to a
special method, so Pyrex effectively ignores them,
but it seems that it generates code for them anyway
and then doesn't use it.

I'll fix this, but in the meantime you can try turning
them into comments.

--
Greg




More information about the Pyrex mailing list