[Python-Dev] Fw: MRO 2.2 vs 2.3

Samuele Pedroni pedronis at bluewin.ch
Mon Oct 7 09:13:37 EDT 2002


From: "Robin Becker" <robin at reportlab.com>
> I got the impression from lurking on the discussion that this new
> behaviour was intended and not achieved. Personally I found the
> reasoning about why one should do the extended precedence thing
> extremely tenuous as it seems to be based on assertions about programmer
> expectation. It's hard to believe that many can do high order graph
> analysis by inspection of the terminal node order.
>

if with extended precedence you refer to the extended precedence graph, both
2.2 mro algo and C3 respect it (intuitively, you can think of both as L*LOOPS +
further constraints) so there's no difference in that.

regards





More information about the Python-list mailing list