New+old-style multiple inheritance
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Thu Dec 20 03:42:21 EST 2007
Jonathan Gardner a écrit :
> On Dec 18, 7:08 am, "stephen... at googlemail.com"
(snip)
> Monkey patching is definitely unpythonic. You must be a Ruby guy.
Strange enough, I learned monkey-patching with Python, years before I
first heard of a language named Ruby.
> Why
> don't you try doing something else to get the behavior you want,
> something more explicit?
>
From experience, monkey-patching is sometimes the very best solution.
More information about the Python-list
mailing list