mrkafk at gmail.com
Wed Feb 17 18:29:36 CET 2010
Kurt Smith wrote:
> In case you're not familiar with it, MI allows you to have mixins &
> traits. They work very well if the mixin superclasses don't have any
> clashes with the other superclasses, so each mixin adds its own unique
> set of methods to the derived class. Then you don't have to worry
> about mro and all that (at least as much).
> Here's an article on it, with examples:
> Michele Simionato has some criticism of MI pitfalls and has come up
> with the straits module to remedy it -- you might be interested. He
> goes into detail here:
Thanks Kurt, I will certainly look into that!
More information about the Python-list