[Numpy-discussion] Adding the new polynomial/chebyshev modules.

Charles R Harris charlesr.harris at gmail.com
Sat Nov 14 14:17:56 EST 2009


Hi All,

I would like some advise on the best way to add the new functions. I've
added a new package polynomial, and that package contains four new modules:
chebyshev, polynomial, polytemplate, polyutils. The question is whether or
not to include all of the functions in these packages in the __init__.py, or
to just import the modules. It is a namespace question, i.e., to get to the
chebyshev functions should one do

import numpy.polynomial.chebyshev

or just

import numpy.polynomial

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


More information about the NumPy-Discussion mailing list