Variable inheritance

Alex Martelli aleaxit at
Wed May 23 11:09:48 CEST 2001

"Rainer Deyke" <root at> wrote in message
news:ZbBO6.8256$CD5.3108352 at
> This code is broken.  'SmartEvaluate' behaves exactly like 'AceIsNice';

Ooops, you're right -- my bad, sorry.

> I think a better approach here would be to make 'AceIsNice' and
> 'FlatBadLongGood' mixin classes:

Yes, definitely.

> for further derivatives.  Perhaps a better approach would be to put all
> in mixin classes and combine them at instantiation time:

That's what I generally do, yes.


More information about the Python-list mailing list