> Are you sure you don't want to use a child class for this?

Composition/delegation introduce far less coupling than implementation
inheritance. Inheritance abuse is in fact a well-known OO antipattern.
Since Python makes delegation easy as pie, I don't see any reason to go
for inheritence when it's not really needed (FWIW, you'll notice that
Python class hierarchies tend to be really flat when compared to Java
or like).

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to