Author vstinner
Recipients brett.cannon, lukasz.langa, pablogsal, serhiy.storchaka, steve.dower, vstinner
Date 2019-04-29.17:10:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556557808.27.0.716700133575.issue36751@roundup.psfhosted.org>
In-reply-to
Content
IMHO getargs(), getargspec(), getfullargspec() should be deprecated in favor of signature() which is future-proof. But Nick Coghlan undeprecated these functions in 2017 https://bugs.python.org/issue20438 whereas these were deprecated since 2015. I didn't understand the subtle issues. That's why I asked Pablo to open a separated issue, to get Nick and others involved to get the context.

My proposal was to raise an exception if the input function has positonal arguments. There is good way to fix these legacy functions, their design cannot be extended, whereas signature() is fine.
History
Date User Action Args
2019-04-29 17:10:08vstinnersetrecipients: + vstinner, brett.cannon, lukasz.langa, serhiy.storchaka, steve.dower, pablogsal
2019-04-29 17:10:08vstinnersetmessageid: <1556557808.27.0.716700133575.issue36751@roundup.psfhosted.org>
2019-04-29 17:10:08vstinnerlinkissue36751 messages
2019-04-29 17:10:08vstinnercreate