Message389963
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. |
|
Date |
User |
Action |
Args |
2021-04-01 09:33:13 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, mark.dickinson, vstinner, Mark.Shannon |
2021-04-01 09:33:13 | serhiy.storchaka | set | messageid: <1617269593.69.0.11569585297.issue43682@roundup.psfhosted.org> |
2021-04-01 09:33:13 | serhiy.storchaka | link | issue43682 messages |
2021-04-01 09:33:13 | serhiy.storchaka | create | |
|