Message 390704 - Python tracker
Message390704
| Author | serhiy.storchaka |
|---|---|
| Recipients | Mark.Shannon, mark.dickinson, methane, rhettinger, serhiy.storchaka, vstinner |
| Date | 2021-04-10.08:39:04 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1618043945.13.0.507380585413.issue43682@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> Do you see a way to make C functions and Python functions behave the same? 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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-04-10 08:39:05 | serhiy.storchaka | set | recipients: + serhiy.storchaka, rhettinger, mark.dickinson, vstinner, methane, Mark.Shannon |
| 2021-04-10 08:39:05 | serhiy.storchaka | set | messageid: <1618043945.13.0.507380585413.issue43682@roundup.psfhosted.org> |
| 2021-04-10 08:39:05 | serhiy.storchaka | link | issue43682 messages |
| 2021-04-10 08:39:04 | serhiy.storchaka | create | |