A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056482.html below:

[Python-Dev] Mixins.

[Python-Dev] Mixins. [Python-Dev] Mixins.Steven Bethard steven.bethard at gmail.com
Mon Sep 19 17:28:04 CEST 2005
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4