Author ncoghlan
Recipients brett.cannon, lukasz.langa, ncoghlan, pablogsal, serhiy.storchaka, steve.dower, vstinner
Date 2019-05-11.04:32:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557549138.07.0.630897642453.issue36751@roundup.psfhosted.org>
In-reply-to
Content
And no, the undeprecation wasn't because of Python 2 (Py2 doesn't have getfullargspec() - it's a Py3 only API).

The undeprecation was because there are a lot of 3rd party projects for whom the getfullargspec() representation is good enough, and switching to inspect.Signature instead requires a significant rewrite vs just wrapping inspect.Signature to produce getfullargspec() style output.

So getfullargspec() doesn't need to change at all for PEP 570 and should instead keep handling positional only arguments the same way it has since it was switched over to being based on inspect.Signature: reporting them the same way as positional-or-keyword parameters.
History
Date User Action Args
2019-05-11 04:32:18ncoghlansetrecipients: + ncoghlan, brett.cannon, vstinner, lukasz.langa, serhiy.storchaka, steve.dower, pablogsal
2019-05-11 04:32:18ncoghlansetmessageid: <1557549138.07.0.630897642453.issue36751@roundup.psfhosted.org>
2019-05-11 04:32:18ncoghlanlinkissue36751 messages
2019-05-11 04:32:17ncoghlancreate