• Guido van Rossum's avatar
    Another step in the right direction: when a new class's attribute · 875eeaa1
    Guido van Rossum authored
    corresponding to a dispatch slot (e.g. __getitem__ or __add__) is set,
    calculate the proper dispatch slot and propagate the change to all
    subclasses.  Because of multiple inheritance, there's no easy way to
    avoid always recursing down the tree of subclasses.  Who cares?
    
    (There's more to do, but this works.  There's also a test for this now.)
    875eeaa1
typeobject.c 104 KB