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 barry, eli.bendersky, ethan.furman, ncoghlan, pitrou, r.david.murray
Date 2013-09-16.14:51:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
The current behaviour is broken for *any* descriptor which doesn't
return itself when retrieved from the class. It just so happens that
all the *other* descriptors in the standard library work that way, so
it doesn't matter if you retrieve them directly from __dict__ or
retrieve them with getattr - you'll get the descriptor object either

So we should be calling getattr first, and always taking __doc__ (if
any) from the returned object.
Date User Action Args
2013-09-16 14:51:17ncoghlansetrecipients: + ncoghlan, barry, pitrou, r.david.murray, eli.bendersky, ethan.furman
2013-09-16 14:51:17ncoghlanlinkissue19030 messages
2013-09-16 14:51:17ncoghlancreate