[Numpy-discussion] Shouldn't numpy.core modules avoid calling numpy.lib ?

Charles R Harris charlesr.harris at gmail.com
Tue May 20 23:02:59 EDT 2008


On Tue, May 20, 2008 at 8:39 PM, David Cournapeau <
david at ar.media.kyoto-u.ac.jp> wrote:

> Charles R Harris wrote:
> >
> >
> > On Tue, May 20, 2008 at 8:14 PM, David Cournapeau
> > <david at ar.media.kyoto-u.ac.jp <mailto:david at ar.media.kyoto-u.ac.jp>>
> > wrote:
> >
> >     Hi,
> >
> >        I noticed that some functions in numpy.core call functions in
> >     numpy.lib. Shouldn't this be avoided as much as possible, to avoid
> >     potential circular import, dependencies, etc... ?
> >
> >
> > Probably not.
>
> Probably not avoided, or should probably not be called ?
>

Just that it looks cleaner to me if stuff in numpy/core doesn't call special
libraries. I don't know that it is a problem. Maybe some utility functions
should be moved into core?

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


More information about the NumPy-Discussion mailing list