[Numpy-discussion] distutils issue - python 3.1 on windows
Mon Aug 2 20:20:19 CDT 2010
On 08/03/2010 02:57 AM, Pauli Virtanen wrote:
> Mon, 02 Aug 2010 12:52:12 -0500, Robert Kern wrote:
>> 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.
Yep, it was added precisely for avoiding the slow import of upstream
More information about the NumPy-Discussion