Message198672
| Author |
rhettinger |
| Recipients |
daniel.urban, grahamd, rhettinger |
| Date |
2013年09月30日.03:27:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1380511624.47.0.175702487084.issue19072@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|