Message198672
I don't think it was ever intended that decorators be chained together.
The whole point is to control binding behavior during dotted look-up (when __getattribute__ is called) and not in other circumstances (such as a direct lookup in a class dictionary).
Note that classmethods typically wrap regular functions which have both __call__ and __get__ methods. The classmethod object intentionally invokes the former instead of the latter which would unhelpfully create an inner bound or unbound method. |
|
Date |
User |
Action |
Args |
2013-09-30 03:27:04 | rhettinger | set | recipients:
+ rhettinger, grahamd, daniel.urban |
2013-09-30 03:27:04 | rhettinger | set | messageid: <1380511624.47.0.175702487084.issue19072@psf.upfronthosting.co.za> |
2013-09-30 03:27:04 | rhettinger | link | issue19072 messages |
2013-09-30 03:27:03 | rhettinger | create | |
|