[Numpy-discussion] [review] Easy win to improve numpy import times by 30 %

David Cournapeau cournape@gmail....
Mon Oct 12 23:00:35 CDT 2009

On Sat, Oct 10, 2009 at 2:49 PM, David Cournapeau <cournape@gmail.com> wrote:
> On Sat, Oct 10, 2009 at 1:24 AM, Peter
> <numpy-discussion@maubp.freeserve.co.uk> wrote:
>> On Fri, Oct 9, 2009 at 5:56 AM, David Cournapeau
>> <david@ar.media.kyoto-u.ac.jp> wrote:
>>> Since inspect is used in quite a few places, and that we only use it to
>>> extract arguments from a function, I added a small numpy.lib.inspect
>>> module, and ...
>> Is numpy.lib intended as a public API? How about numpy.lib._inspect
>> instead of numpy.lib.inspect to make it clear this new module is private?
> I could see it being used by other packages like scipy for example.
> Instead of numpy.lib.inspect, we may choose to have something like
> numpy.lib.compat or something, where we could put several potential
> cases similar to this one.

Ok, I created a new numpy subpackage numpy.compat, and numpy.compat
will contain the public API. The implementation is in

Unless someones objects to it, I will include this within the next day or so,



More information about the NumPy-Discussion mailing list