Author vstinner
Recipients Mark.Shannon, mark.dickinson, rhettinger, serhiy.storchaka, vstinner
Date 2021-04-07.23:16:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617837364.67.0.588350471795.issue43682@roundup.psfhosted.org>
In-reply-to
Content
Serhiy Storchaka:
> If make staticmethod a calllable and always wrap open, we need to change also its repr and add the __doc__ attribute (and perhaps other attributes to make it more interchangeable with the original function).

You right and I like this idea! I created PR 25268 to inherit the function attributes (__name__, __doc__, etc.) in @staticmethod and @classmethod wrappers.
History
Date User Action Args
2021-04-07 23:16:04vstinnersetrecipients: + vstinner, rhettinger, mark.dickinson, Mark.Shannon, serhiy.storchaka
2021-04-07 23:16:04vstinnersetmessageid: <1617837364.67.0.588350471795.issue43682@roundup.psfhosted.org>
2021-04-07 23:16:04vstinnerlinkissue43682 messages
2021-04-07 23:16:04vstinnercreate