Mon, 02 Aug 2010 12:52:12 -0500, Robert Kern wrote:
[clip]
> I believe we avoided the inspect module because it is quite expensive to
> import. It may not matter inside numpy.distutils, but be wary of
> "fixing" things to use inspect elsewhere. It would be worth extracting
> the commonly-used pieces of inspect (and hacks like this) into an
> internal utility module that is fast to import.

We actually have `numpy.compat._inspect` and

        from numpy.compat import getargspec

that could be used here. 

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to