[SciPy-user] nunmpy.lookfor and scipy submodules

Pauli Virtanen pav@iki...
Sat Jun 27 19:48:18 CDT 2009


On 2009-06-27, Emmanuelle Gouillart <emmanuelle.gouillart@normalesup.org> wrote:
> 	while working on a course about scientific computing with Python,
> I found myself playing with numpy.lookfor. To my surprise, I found that
> the submodules of scipy are never searched by numpy.lookfor (see example
> below). Apparently, this comes from the fact that the submodules are not
> in scipy.__all__. I'm sure this is a very naive question, but why is it
> so ? It can be quite confusing for people looking for documentation when
> they don't find any match for 'optimize' in scipy... I'm using numpy
> 1.2.1 and scipy 0.7.

Design oversight. I don't there's a good reason not to behave 
more sensibly.

-- 
Pauli Virtanen



More information about the SciPy-user mailing list