Charles R Harris wrote:

>

>

> On Tue, May 20, 2008 at 8:14 PM, David Cournapeau

> <

[hidden email] <mailto:

[hidden email]>>

> 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 ?

> But numpy/lib looks like a basement closet to me, anyway. What

> functions are getting called?

I can see at least one: numpy.lib.issubtype in core/defmatrix.py, called

once. I am trying to see why importing numpy is slow, and those circular

import make the thing difficult to understand (or maybe I am just too

new to dtrace to understand how to use it effectively here).

cheers,

David

_______________________________________________

Numpy-discussion mailing list

[hidden email]
http://projects.scipy.org/mailman/listinfo/numpy-discussion