Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4250

Re: Composition instead of inheritance

Date 2011-04-28 20:59 +0200
From Jean-Michel Pichavant <jeanmichel@sequans.com>
Subject Re: Composition instead of inheritance
References <4DB9A096.3020200@stoneleaf.us>
Newsgroups comp.lang.python
Message-ID <mailman.953.1304017167.9059.python-list@python.org> (permalink)

Show all headers | View raw


Ethan Furman wrote:
> For anybody interested in composition instead of multiple inheritance, 
> I have posted this recipe on ActiveState (for python 2.6/7, not 3.x):
>
> http://code.activestate.com/recipes/577658-composition-of-classes-instead-of-multiple-inherit/ 
>
>
> Comments welcome!
>
> ~Ethan~
Sounds great. But I fear that would completely fool any linter.

JM

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Composition instead of inheritance Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-04-28 20:59 +0200

csiph-web