Sokolov Yura wrote:
> Would it be usefull to define new magic class variable __mixins__ for a
> new style classes, which
> will accept list of classes and will drop all members of them into
> definition of class before they went to metaclass.
First off, this is probably more appropriate for comp.lang.python.
Work it out there first, and if you still think it's a valid idea,
then present it to python-dev.
Secondly, no, I don't think it's useful to provide two ways (multiple
inheritance and a __mixins__ attribute) to support mixins. Remember,
TOOWTDI.
STeVe
--
You can wordify anything if you just verb it.
--- Bucky Katt, Get Fuzzy
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com