diff options
author | Guido van Rossum <guido@python.org> | 2002-11-14 19:49:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-11-14 19:49:16 (GMT) |
commit | 1f1213120e40e1d1cb58348ada03da27471e9f5e (patch) | |
tree | 68e0249ba62804ee129e05c044ec7ad3da63890a /Tools/scripts/sum5.py | |
parent | c7aaf953faf3f4f22c8a77209927dcacfba91490 (diff) | |
download | cpython-1f1213120e40e1d1cb58348ada03da27471e9f5e.zip cpython-1f1213120e40e1d1cb58348ada03da27471e9f5e.tar.gz cpython-1f1213120e40e1d1cb58348ada03da27471e9f5e.tar.bz2 |
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.
Diffstat (limited to 'Tools/scripts/sum5.py')
0 files changed, 0 insertions, 0 deletions