Re: MRO problems with diamond inheritance?

2005-05-01 Thread Robert Dick
M.E.Farmer: > Your answer lies somewhere in this page ;) > http://www.python.org/2.2.2/descrintro.html > M.E.Farmer delegate.py (use PyPI) may also be useful. -Robert Dick- -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling __init__ with multiple inheritance

2005-03-28 Thread Robert Dick
nd problems with the approach, I hope it becomes standard. I found it distracting that python's default argument passing approach conflicts with its default delegation approach. Good luck, -Robert Dick- -- http://mail.python.org/mailman/listinfo/python-list

Potential improvement on delegation via explicit calls and super

2004-12-17 Thread Robert Dick
ably ways to make its use more intuitive, but I'm new to the language so I don't know the tricks yet. Thanks for any tips, -Robert Dick- '''See the example at the bottom.''' import inspect def flatten_tree(tree): '''Flatten a tree repr