]> granicus.if.org Git - python/commit
Use the new C3 MRO algorithm, implemented by Samuele Pedroni (SF patch
authorGuido van Rossum <guido@python.org>
Thu, 14 Nov 2002 19:49:16 +0000 (19:49 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 14 Nov 2002 19:49:16 +0000 (19:49 +0000)
commit1f1213120e40e1d1cb58348ada03da27471e9f5e
tree68e0249ba62804ee129e05c044ec7ad3da63890a
parentc7aaf953faf3f4f22c8a77209927dcacfba91490
Use the new C3 MRO algorithm, implemented by Samuele Pedroni (SF patch
619475; also closing SF bug 618704).  I tweaked his code a bit for
style.

This raises TypeError for MRO order disagreements, which is an
improvement (previously these went undetected) but also a degradation:
what if the order disagreement doesn't affect any method lookups?
I don't think I care.
Objects/typeobject.c