Message390738
> Implement __get__ for C functions. Of course it is breaking change so we should first emit a warning. It will force all users to use staticmethod explicitly if they set a C function as a class attribute. We can also start emitting warnings for all callable non-descriptor class attributes.
Well... such change would impact way more code and sounds to require a painful migration plan.
Also, it doesn't prevent to make static methods callable, no? |
|
Date |
User |
Action |
Args |
2021-04-10 20:02:13 | vstinner | set | recipients:
+ vstinner, rhettinger, mark.dickinson, methane, Mark.Shannon, serhiy.storchaka |
2021-04-10 20:02:12 | vstinner | set | messageid: <1618084932.97.0.451159197014.issue43682@roundup.psfhosted.org> |
2021-04-10 20:02:12 | vstinner | link | issue43682 messages |
2021-04-10 20:02:12 | vstinner | create | |
|