Message390496
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. |
|
| Date |
User |
Action |
Args |
| 2021-04-07 23:16:04 | vstinner | set | recipients:
+ vstinner, rhettinger, mark.dickinson, Mark.Shannon, serhiy.storchaka |
| 2021-04-07 23:16:04 | vstinner | set | messageid: <[email protected]> |
| 2021-04-07 23:16:04 | vstinner | link | issue43682 messages |
| 2021-04-07 23:16:04 | vstinner | create | |
|