Message253436
> 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. |
|
Date |
User |
Action |
Args |
2015-10-25 21:13:47 | yselivanov | set | recipients:
+ yselivanov, brett.cannon, ncoghlan, larry, nedbat, python-dev, berker.peksag, matrixise, untitaker |
2015-10-25 21:13:47 | yselivanov | set | messageid: <1445807627.63.0.765621770532.issue20438@psf.upfronthosting.co.za> |
2015-10-25 21:13:47 | yselivanov | link | issue20438 messages |
2015-10-25 21:13:47 | yselivanov | create | |
|