[Numpy-discussion] Updating cython directory to pxd usage: objections?

Matthew Brett matthew.brett@gmail....
Thu Jun 19 20:10:28 CDT 2008


>> As long as it doesn't cause problems, then I'd vote for doing it.
>> This only happens at module import time, so even if several modules
>> using cython call it, it's only when they get imported.  I think the
>> API simplification is worth it (minor, but still nice).
>> I just tested the changes and there seem to be no ill effects.  Should
>> I  go ahead and commit it? I'll do it in a single commit with no other
>> changes so it's easy to revert should it prove to be a bad idea.

I may be missing something, but given cython / pyrex are generating c
files, as long as you don't call import_array in your pyx file as well
as your pxd file, I don't think it could make any difference that
several cython modules use the same pxd file.


More information about the Numpy-discussion mailing list