Yury Selivanov added the comment:

> The docs for getargspec currently read, "This function will be removed in 
> Python 3.6."  Why?  We keep all sorts of old APIs for the sake of backward 
> compatibility, why is this one different?

getargspec was deprecated since 3.0.  Besides that, it returns incomplete 
information about function parameters: keyword-only parameters won't be 
introspected at all for instance.

Migration path is very simple and clear -- just use getfullargspec (almost 100% 
backwards compatible), which won't be removed probably till Python 4.

----------

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

Reply via email to