Needed: Real-world examples for Python's Cooperative Multiple Inheritance

Raymond Hettinger raymond.activestate at gmail.com
Thu Nov 25 20:41:50 EST 2010


[Paul Rubin]
> I'd mention the SocketServer library, except I'm not sure what you
> mean by "cooperative", so I don't know if that counts.

Cooperative multiple inheritance is a specific problem when there
is a diamond diagram with the same method name needing to be called
on multiple paths and each name should only be called exactly once.

http://www.python.org/download/releases/2.2.3/descrintro/#cooperation


Raymond



More information about the Python-list mailing list