[Python-3000] auto-super()
Aahz
aahz at pythoncraft.com
Wed Apr 19 05:24:41 CEST 2006
On Wed, Apr 19, 2006, Greg Ewing wrote:
>
> What causes trouble isn't multiple inheritance, it's diamond
> inheritance. Without diamond inheritance, explicit calls to inherited
> methods usually work fine, and continue to work fine when your classes
> get inherited, multiply or otherwise, by other people's classes, as
> long as they do something sensible with their inherited calls.
>
> Personally I think that the use of diamond inheritance should be
> severely discouraged, if not banned completely.
But multiple inheritance with new-style classes is inherently diamond
inheritance -- how do you propose to deal with that?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"LL YR VWL R BLNG T S"
More information about the Python-3000
mailing list