[Python-Dev] Method resolution order

Neil Schemenauer nas@python.ca
Wed, 11 Jul 2001 15:19:43 -0700

Guido van Rossum wrote:
> Using the classic [depth-first, left-right] lookup rule, construct the
> list of classes that would be searched, including duplicates.  Now for
> each class that occurs in the list multiple times, remove all
> occurrences except for the last.  The resulting list contains each
> ancestor class exactly once

Is this original or is it used by other languages as well?  My books on
Dylan and CLOS are at home but I think they do something similar.