C3 linéarization might be mathematically proven to be optimal, as in, it's the 
best way to order a graph. Sure.
But why would we order the inheritance tree?

That's essentially my problem with the current solution.
looking at conflict, and saying "it's a conflcit" is the correct solution in my 
mind.

I tested it on multiple inheritance trees, and mixed with current style MRO + 
super, this doesn't seem to lead to issues.

You can find all the tests i've done in the test folder here : 
https://github.com/malmiteria/super-alternative-to-super

Again, why so systematically try to order the inheritance tree?
merge conflict are definitely an appropriate solution.
Obviously they require solving the conflict, but simply defining the method in 
the child is enough
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/5MHVW6RNCNDQMGRXEE3U2GN34BWJ2B7V/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to