[Numpy-discussion] Breaking up the umathmodule file.

Charles R Harris charlesr.harris at gmail.com
Sun Nov 16 23:01:23 EST 2008


Hi All,

I thought I should run this by folks before doing the deed. I propose to
break up the umathmodule file. Currently the umath module is put together
from the following files:

math_c99.inc.src
ufuncobject.c
umathmodule.c.src

I propose:

umath_funcs_c99.inc.src
umath_funcs.inc.src
umath_loops.inc.src
umath_object.inc
umathmodule.c

This will break up the source of the umath objects into functional parts and
allow umathmodule.c to function as a  template with all the includes that
put the sources together in one spot. This should make it easier for people
working on this code in the future to understand how it all goes together
and where things are. Alternatives to this proposal might be merging
umath_funcs_c99 with umath_funcs, and/or,  instead of using names like
xxx.inc.src, use xxx.c.src or xxx.c.inc.src.

Thoughts?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20081116/8b0a0bd2/attachment.html>


More information about the NumPy-Discussion mailing list