This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Mark.Shannon, mark.dickinson, rhettinger, serhiy.storchaka, vstinner
Date 2021-04-01.09:33:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617269593.69.0.11569585297.issue43682@roundup.psfhosted.org>
In-reply-to
Content
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).

Alternate option: make staticmethod(func) returning func if it is not a descriptor.
History
Date User Action Args
2021-04-01 09:33:13serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, vstinner, Mark.Shannon
2021-04-01 09:33:13serhiy.storchakasetmessageid: <1617269593.69.0.11569585297.issue43682@roundup.psfhosted.org>
2021-04-01 09:33:13serhiy.storchakalinkissue43682 messages
2021-04-01 09:33:13serhiy.storchakacreate