On Thu, Apr 24, 2008 at 1:16 PM, Brian Granger <[EMAIL PROTECTED]> wrote:
> The only way I can get all this to work is the rename numpy.pxi -> > c_numpy.pxd and use cimport. Then all works well. But, this seems to > go against the recommendation that pxd files should not be used for > this purpose. Also, it seems like there are bugs or misfeatures in > Cython's handling of pxi files. I'm very interested in the outcome of this discussion, and will be happy to update the numpy examples as needed, including an explanation. As Brian mentions, the change was made after suggestions by William, G. Furnish and probably other Sage experts at the Enthought SD8 meet. I guess at this point, I'd like to phrase the question in reverse: given the troubles Brian is having, is there any reason NOT to use a cimport/pxd approach? The old pyrex-based example in numpy used that and it seemed to be OK, I only made the change after the above advice but without really having seen any adverse consequences of using pxd. Any clarifications on this would be most welcome. Regards, f _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev