[Numpy-discussion] Updating cython directory to pxd usage: objections?
Stéfan van der Walt
Thu Jun 19 04:31:32 CDT 2008
2008/6/19 Fernando Perez <firstname.lastname@example.org>:
> after I updated the pyrex code to use cython, a bit of confusion led
> me to using .pxi includes instead of .pxd files and cimport. That
> turned out to be mistaken, as later clarified by the Cython team:
You weren't the only one confused. In fact, reading the FAQ didn't help me:
The NumPy definitions are all external, so why shouldn't they go in a .pxi?
Some other questions:
- There's a bug in the latest Cython annotation, preventing the
example from compiling. Workaround: replace "cython -a" with
- We could also add a scons buildfile, to show how extensions are
built with and without numscons.
- import_array(). Can we put it at the bottom of c_numpy.pxd, so that
users don't have to import it every time?
- Author names: should we remove author names from module headers and
add them in THANKS.txt or some other contributor list?
More information about the Numpy-discussion