Blake Ross wrote: > C++ ensures that virtual bases > are only constructed once,
As far as I remember, C++ ensures this by not calling the base constructors automatically at all, leaving you to explicitly call the constructors of all the virtual bases that you inherit. You could adopt the same solution in Python - have methods called init_xxx in each class Xxx, and call them all from the __init__ method of the most-derived class. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com