Message160399
The documentation for ABCMeta.register() says that it makes the other class a "virtual subclass". That would make the ABC a "virtual base class".
So whether the current behaviour is correct depends on whether you consider a "virtual base" to count as a base. From the reasoning behind the introduction of ABCs, it certainly sounds like it should count.
Also, this is a feature that works correctly in Pyton 2.7, so could trip people up who are trying to move to Python 3. |
|
Date |
User |
Action |
Args |
2012-05-11 04:44:48 | jamesh | set | recipients:
+ jamesh, acooke, eric.araujo, cvrebert, daniel.urban |
2012-05-11 04:44:47 | jamesh | set | messageid: <1336711487.98.0.933182018634.issue12029@psf.upfronthosting.co.za> |
2012-05-11 04:44:47 | jamesh | link | issue12029 messages |
2012-05-11 04:44:47 | jamesh | create | |
|