Author nedbat
Recipients berker.peksag, brett.cannon, larry, matrixise, ncoghlan, nedbat, python-dev, r.david.murray, untitaker, yselivanov
Date 2015-10-26.14:39:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445870347.16.0.0894251539222.issue20438@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-10-26 14:39:07nedbatsetrecipients: + nedbat, brett.cannon, ncoghlan, larry, r.david.murray, python-dev, berker.peksag, yselivanov, matrixise, untitaker
2015-10-26 14:39:07nedbatsetmessageid: <1445870347.16.0.0894251539222.issue20438@psf.upfronthosting.co.za>
2015-10-26 14:39:07nedbatlinkissue20438 messages
2015-10-26 14:39:06nedbatcreate