This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients arigo, eli.bendersky, eric.snow, ethan.furman, ncoghlan, ronaldoussoren
Date 2013-10-13.14:59:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381676345.36.0.340997699313.issue16938@psf.upfronthosting.co.za>
In-reply-to
Content
No, __class__ on a descriptor has *NOTHING* to do with how it was looked up. It's the class of the *result*.

>> property.__class__
<class 'type'>
>>> staticmethod.__class__
<class 'type'>
>>> classmethod.__class__
<class 'type'>

It's completely irrelevant to determining *where the attribute came from*.
History
Date User Action Args
2013-10-13 14:59:05ncoghlansetrecipients: + ncoghlan, arigo, ronaldoussoren, eli.bendersky, ethan.furman, eric.snow
2013-10-13 14:59:05ncoghlansetmessageid: <1381676345.36.0.340997699313.issue16938@psf.upfronthosting.co.za>
2013-10-13 14:59:05ncoghlanlinkissue16938 messages
2013-10-13 14:59:05ncoghlancreate