Message211987
The problem is that "ismethod()" is not a particularly well-defined concept, except insofar as it means "behaves the same way as the callable returned when a Python function is retrieved through a class instance".
"isboundmethod()" could be well-defined, especially if it was introduced in parallel with a types.BoundMethod ABC that standardised the __func__ property. |
|
Date |
User |
Action |
Args |
2014-02-23 09:56:52 | ncoghlan | set | recipients:
+ ncoghlan, terry.reedy, pitrou, larry, Arfrever, yselivanov |
2014-02-23 09:56:52 | ncoghlan | set | messageid: <1393149412.03.0.254285085469.issue20712@psf.upfronthosting.co.za> |
2014-02-23 09:56:52 | ncoghlan | link | issue20712 messages |
2014-02-23 09:56:51 | ncoghlan | create | |
|