commit | 1f1213120e40e1d1cb58348ada03da27471e9f5e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Nov 14 19:49:16 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Nov 14 19:49:16 2002 +0000 |
tree | 68e0249ba62804ee129e05c044ec7ad3da63890a | |
parent | c7aaf953faf3f4f22c8a77209927dcacfba91490 [diff] |
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.