Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore .pxd inline functions that are not used #2051
still working out the details, glad to hear any comments and note my analysis of the interaction between cython and PyPy may be mistaken.
Pandas recently added this line in changeset pandas-dev/pandas@f7f33a:
which seemed to be enough to cause cython to emit code from cython's
The errors look like
Those come from inline functions. I think we should try to exclude inline functions that are defined in .pxd files but not used anywhere.
I'll rename the ticket accordingly since this is the main issue here. For declarations that are actually used, it's up to the users to care about compatibility (if Cython cannot easily cover it up in a non-ambiguous way).