This MR removes all remaining calls to inspect.getargspec which has been deprecated since Python 3.0.
inspect.getargspec