FEEDBACK WANTED: Type/class unification

chris liechti cliechti at mails.ch
Tue Jul 31 19:16:58 EDT 2001


Guido van Rossum <guido at python.org> wrote in
news:cp7kwpz6uh.fsf at cj20424-a.reston1.va.home.com: 
> There's a missing section in PEP and tutorial on
> "cooperation", a generalization of a "super" call that allows you to
> spell "call the next method in the chain" without naming its class
> explicitly.  No time to explain that now.

"super" interested me too. from your description, i think it's similar to 
Java's "super" keyword but extended to multiple inheritance.

that would simplify writing class hierarchies because what one would not 
need to search the correct supperclass for a method and renaming a class is 
made much simpler.

-- 
chris <cliechti at mails.ch>




More information about the Python-list mailing list