Christian Heimes added the comment:

I like to do something similar to marker interfaces [1] with ABCs. For 
introspection and documentation I need a way to get all non-abstract classes 
that are implemented by an ABC.

How about I change the implementation to get_subclasses(direct=False) to return 
all virtual and real subclasses of an ABC? I can filter out abstract types with 
inspect.isabstract() later.

[1] http://www.muthukadan.net/docs/zca.html#marker-interfaces

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18737>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to