[Numpy-discussion] distutils issue - python 3.1 on windows

Pauli Virtanen pav@iki...
Mon Aug 2 12:57:41 CDT 2010


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



More information about the NumPy-Discussion mailing list