[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

Nick Coghlan report at bugs.python.org
Wed Jun 22 16:42:21 EDT 2016


Nick Coghlan added the comment:

OK, so maybe the right answer here is to officially undeprecate inspect.getfullargspec(), as we definitely *don't* want people feeling obliged to write their own version of that, and potentially introducing inconsistencies between different tools.

Then the deprecation warning on inspect.getargspec() can be updated to point people towards "inspect.signature() or inspect.getfullargspec()", while the docs for getfullargspec() itself can be updated to say it isn't recommended for use in new code, rather than that it's deprecated.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27172>
_______________________________________


More information about the Python-bugs-list mailing list