Re:Never run ‘python’ in your downloads folder
by renewiltord on Sunday August 23, 2020 @06:43PM
(#24255914)
Oh, ah yes, that's good. With the A.__init(self) approach you'd overcall in a diamond-pattern. Okay, I'm convinced.
Note that `object` being the root of the class hierarchy implies that you must have careful coordination between all classes in a multiple inheritance hierarchy to determine, for a particular method, when subclasses may/must delegate to super, what the arguments to the method are, and even what the argument names are in some cases! You can't just go glomming classes together and expect it to go well unless you know the classes either don't use the same method names or agree very carefully on what the delgatable interfaces are.