getargspec was finally removed (will not be in 3.6) so time to RF "with ignore_warnings()" for it

Issue #391 resolved
Yaroslav Halchenko created an issue

I see it still used in the current master:

$> git grep -2 getargspec 
igor.py-    """
igor.py-    with ignore_warnings():
igor.py:        argspec = inspect.getargspec(function)
igor.py-    return bool(argspec[1]), len(argspec[0])
igor.py-

which leads to fails on travis with "daily" build of python, e.g. https://travis-ci.org/datalad/datalad/jobs/73429087#L816

Comments (4)

  1. Yaroslav Halchenko reporter

    ah, sorry for being cryptic RF == refactor

    replacement -- didn't check in detail but it should be inspect.signature if I got it right (was glad to see that failure wasn't due to our code ;) )

  2. Log in to comment