On 18/04/22 7:29 pm, malmiteria wrote:
It's an arbitrary choice that the C3 feature itself makes, and the programmer is left guessing what that choice was, unless they can take the time to learn C3 in depth.
Even if you do, it's still an arbitrary choice to prefer the leftmost method, which might be what you want or might not. The "guessing" in the Zen is a tongue-in-cheek way of referring to picking something as a default when there isn't any strong reason to think it will be what is most often wanted. If there's any literal guessing involved, it's on the part of the language designer. -- Greg _______________________________________________ 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/JEHUSQKTLQQGA7FEVPMQI5TAZP6VZ4L7/ Code of Conduct: http://python.org/psf/codeofconduct/