[issue27172] Undeprecate inspect.getfullargspec()
Larry Hastings
report at bugs.python.org
Mon Oct 9 10:10:43 EDT 2017
Larry Hastings <larry at hastings.org> added the comment:
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.
----------
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27172>
_______________________________________
More information about the Python-bugs-list
mailing list