understanding the mro (long)
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Fri Jul 23 23:15:31 EDT 2010
On Fri, 23 Jul 2010 22:42:28 -0400, Rolando Espinoza La Fuente wrote:
> TL;DR: if you want to stay sane, don't inherit two classes that share
> same inheritance graph
>
> I recently got puzzled by a bug from a legacy lib (ClientForm) which
> have this code:
[...]
> Finally everything make sense. And make think about be careful when
> doing multiple inheritance.
>
> Any thoughts?
Wow. Nice work, thanks for taking the time for documenting this publicly.
--
Steven
More information about the Python-list
mailing list