[Numpy-discussion] "import numpy" is slow

Alan McIntyre alan.mcintyre at gmail.com
Wed Jul 30 22:21:02 EDT 2008


On Wed, Jul 30, 2008 at 8:19 PM, Andrew Dalke <dalke at dalkescientific.com> wrote:
> numpy defines
>
>  numpy.test
>  numpy.bench
>
> and
>
>  numpy.testing.test
>
> The two 'test's use the same implementation.  This is a likely
> unneeded duplication and one should be removed. The choice depends on
> if people think the name should be 'numpy.test' or 'numpy.testing.test'.

They actually do two different things; numpy.test() runs test for all
of numpy, and numpy.testing.test() runs tests for numpy.testing only.
There are similar functions in numpy.lib, numpy.core, etc.



More information about the NumPy-Discussion mailing list