Message241365
Ethan, those sections you have linked to have nothing to do with special methods that are descriptors, or behaviour regarding descriptors.
As seen in this example, descriptors are working even for special methods:
>>> class B:
... @property
... def __call__(self):
... return lambda: 1
...
>>> b = B()
>>> b()
1 |
|
Date |
User |
Action |
Args |
2015-04-17 20:41:58 | ionelmc | set | recipients:
+ ionelmc, christian.heimes, Claudiu.Popa, ethan.furman, llllllllll |
2015-04-17 20:41:58 | ionelmc | set | messageid: <1429303318.86.0.554307722113.issue23990@psf.upfronthosting.co.za> |
2015-04-17 20:41:58 | ionelmc | link | issue23990 messages |
2015-04-17 20:41:58 | ionelmc | create | |
|