Adam DePrince wrote:

> dicta.keys() - dictb.keys()
> 
> Because each supports the SetView interface, we need only provide a
> single generic SetView.difference operator and move on.

I can see some use for inheritance there. But keep in
mind that there is no multiple inheritance at the C
level, so thinking terms of "mixins" doesn't really
apply. There would need to be a single base class, or
just a bunch of C functions for implementations to
plug into the relevant slots.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | Carpe post meridiam!                 |
Christchurch, New Zealand          | (I'm not a morning person.)          |
[EMAIL PROTECTED]          +--------------------------------------+
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to