Message132176
> 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. |
|
Date |
User |
Action |
Args |
2011-03-25 22:45:19 | eric.araujo | set | recipients:
+ eric.araujo, gvanrossum, doerwalter, rhettinger, paul.moore, ncoghlan, pitrou, ryan.freckleton, kteague, BreamoreBoy |
2011-03-25 22:45:18 | eric.araujo | set | messageid: <1301093118.89.0.71896831244.issue5135@psf.upfronthosting.co.za> |
2011-03-25 22:45:18 | eric.araujo | link | issue5135 messages |
2011-03-25 22:45:18 | eric.araujo | create | |
|