[Python-ideas] Consider (one day) adding an inheritance order class precedence mechanism
greg.ewing at canterbury.ac.nz
Thu Nov 16 18:44:33 EST 2017
Ethan Furman wrote:
> If they don't have any clashing attributes, why does order matter?
It doesn't -- that's the point.
Currently it's assumed that the order base classes appear
in a class statement is the order that they must appear
in the MRO. But that's not always true. I'm suggesting that
the MRO algorithm should not assume that and should make
its own assessment of the required ordering.
More information about the Python-ideas