◐ Shell
clean mode source ↗

Message 303960 - Python tracker

Wait, what is all this nonsense?

inspect.getfullargspec is Python 3 only.  It was added to support keyword-only parameters.  Python 2 doesn't *have* keyword-only parameters, so it isn't needed there.

Check for yourself: Python 2 doesn't have inspect.getfullargspec.

    https://docs.python.org/2/library/inspect.html#inspect.getargspec

We might consider un-deprecating inspect.getargspec() for supporting code supporting Py2 and Py3.  But there's no point in un-deprecating inspect.getfullargspec() for that reason.

Nick: please *back out* your pointless, taffy-headed checkin.