Ned Batchelder added the comment: This is the situation I am in: coverage.py uses getargspec in a very simple way in its tooling. I support 2.7 and 3.5, so I have to do this:
try: getargspec = inspect.getfullargspec except AttributeError: getargspec = inspect.getargspec argspec = getargspec(function) It seems like needless churn. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20438> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com