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 christian.heimes
Recipients christian.heimes, pitrou, rhettinger, stutzbach
Date 2013-08-14.15:47:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376495237.5.0.553323208411.issue18737@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-08-14 15:47:17christian.heimessetrecipients: + christian.heimes, rhettinger, pitrou, stutzbach
2013-08-14 15:47:17christian.heimessetmessageid: <1376495237.5.0.553323208411.issue18737@psf.upfronthosting.co.za>
2013-08-14 15:47:17christian.heimeslinkissue18737 messages
2013-08-14 15:47:17christian.heimescreate