Armin Ronacher <armin.ronac...@active-4.com> added the comment: 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. ---------- nosy: +aronacher _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com