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 eric.araujo
Recipients BreamoreBoy, doerwalter, eric.araujo, gvanrossum, kteague, ncoghlan, paul.moore, pitrou, rhettinger, ryan.freckleton
Date 2011-03-25.22:45:18
SpamBayes Score 0.0021853717
Marked as misclassified No
Message-id <1301093118.89.0.71896831244.issue5135@psf.upfronthosting.co.za>
In-reply-to
Content
> The register() method of an ABC only fakes out isinstance checks, it
> doesn't actually make the abstract base class a base class of the class.
> It doesn't make any sense for a class to say it is an instance of an
> ABC, but not have that ABC in [its] MRO.

I disagree.  If someone writes a class and registers them with an ABC, it is their duty to make sure that the class actually complies.  Virtual subclasses are provided for use by consenting adults IMO.
History
Date User Action Args
2011-03-25 22:45:19eric.araujosetrecipients: + eric.araujo, gvanrossum, doerwalter, rhettinger, paul.moore, ncoghlan, pitrou, ryan.freckleton, kteague, BreamoreBoy
2011-03-25 22:45:18eric.araujosetmessageid: <1301093118.89.0.71896831244.issue5135@psf.upfronthosting.co.za>
2011-03-25 22:45:18eric.araujolinkissue5135 messages
2011-03-25 22:45:18eric.araujocreate