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 dmaurer
Recipients dmaurer
Date 2008-01-10.17:39:23
SpamBayes Score 0.018971559
Marked as misclassified No
Message-id <>
The inspect functions "getmembers(cls)" and "classify_class_attrs(cls)"
require that for a class *cls* each name in "dir(cls)" can be retrieved
by "getattr(cls, name)". While this holds for usual class attributes, it
may well fail for descriptors (descriptors set by 'zope.interface' are a
real world example for this). Attached it as small script that
demonstrates the problem.

The bug affects 'pydoc' and the built in 'help' (which is in fact
''). While 'pydoc' and 'help' do not break completely, they
can not present meaningful information for classes with some descriptors
Date User Action Args
2008-01-10 17:39:33dmaurersetspambayes_score: 0.0189716 -> 0.018971559
recipients: + dmaurer
2008-01-10 17:39:32dmaurersetspambayes_score: 0.0189716 -> 0.0189716
messageid: <>
2008-01-10 17:39:24dmaurerlinkissue1785 messages
2008-01-10 17:39:23dmaurercreate