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 aronacher
Recipients aronacher, paul.moore
Date 2009-03-02.13:11:32
SpamBayes Score 9.1044586e-07
Marked as misclassified No
Message-id <1235999496.63.0.227918208466.issue5405@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this can be solved.  Not only do registered classes not
show up (which could be fixed by providing something like
inspect.getfakemro) but ABCs can also perform duck-type checks.

For example a class with an __iter__ method is an instance of
collections.Iterable or how it's called thanks to the __subclasscheck__
magic method.
History
Date User Action Args
2009-03-02 13:11:36aronachersetrecipients: + aronacher, paul.moore
2009-03-02 13:11:36aronachersetmessageid: <1235999496.63.0.227918208466.issue5405@psf.upfronthosting.co.za>
2009-03-02 13:11:34aronacherlinkissue5405 messages
2009-03-02 13:11:33aronachercreate