Michele Simionato <[EMAIL PROTECTED]> writes:

> I am not against mixins (even if I am certainly very much against the
> *abuse* of mixins, such as in Zope 2). What I would advocate (but I
> realize that it will never happen in Python) is single inheritance +
> mixins a la Ruby.

Ruby might be a bad example here.  Although the Ruby language syntax
only supports single inheritance, mixins are implemented as multiple
inheritance under the hood.  That is, inheriting from a class and
including a class as a mixin modifies the sub-/mixing class in exactly
the same way.

-Marshall

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

Reply via email to