Nick Coghlan added the comment:

OK, as per the above discussion, I've changed the title of this issue to be to 
undeprecate inspect.getfullargspec().

That change involves two pieces:

- change the documented deprecation of inspect.getfullargspec() to instead be a 
recommendation to avoid using it in new code, and instead use 
inspect.signature()
- update the inspect.getargspec() documentation and programmatic deprecation 
warning to point to both inspect.signature() and inspect.getfullargspec() as 
potential replacements

That gives folks already using inspect.getfullargspec assurance that it isn't 
going away anytime soon (if ever), while folks using inspect.getargspec get a 
lower impact migration path to a more Python 3 friendly version of the callable 
introspection API.

----------
title: Add skip_bound_arg argument to inspect.Signature.from_callable() -> 
Undeprecate inspect.getfullargspec()

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27172>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to