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 pitrou
Recipients christian.heimes, pitrou, rhettinger, stutzbach
Date 2013-08-14.13:22:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376486556.03.0.0133393664531.issue18737@psf.upfronthosting.co.za>
In-reply-to
Content
Another problem is what happens when an implementation uses non-"virtual" inheritance:

>>> issubclass(collections.UserDict, collections.abc.Mapping)
True
>>> collections.UserDict in collections.abc.Mapping.get_virtual_subclasses(True)
False

IOW, I think this get_virtual_subclasses() proposal is too low-level to be commonly useful, since it depends on implementation details (whether subclassing is direct or not, whether registering is implicit or explicit).
History
Date User Action Args
2013-08-14 13:22:36pitrousetrecipients: + pitrou, rhettinger, christian.heimes, stutzbach
2013-08-14 13:22:36pitrousetmessageid: <1376486556.03.0.0133393664531.issue18737@psf.upfronthosting.co.za>
2013-08-14 13:22:36pitroulinkissue18737 messages
2013-08-14 13:22:35pitroucreate