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:04rhettingersetrecipients: + rhettinger, grahamd, daniel.urban
2013-09-30 03:27:04rhettingersetmessageid: <1380511624.47.0.175702487084.issue19072@psf.upfronthosting.co.za>
2013-09-30 03:27:04rhettingerlinkissue19072 messages
2013-09-30 03:27:03rhettingercreate