On 12 Apr 2022, at 13:17, malmiteria <martin.milon@ensc.fr> wrote:Steven D'Aprano writes:So in the general case, order matters. We have to linearize theWhy would we *have* to do that?
superclasses, and call them in that linear order, and the best way to do
that is with the MRO and super.
When multiple parent provide candidate to a method resolution, raise an error.
The child class now has to redefine the method, and in the body of that method, can decide which parent method call, or in what order call them.
That's essentially the basic idea of my proposal.