[EMAIL PROTECTED] enlightened us with: > I see that Python is missing "interfaces".
No it isn't. It just hasn't got them. > The concept of an interface is a key to good programming design in > Java, but I've read that they aren't really necessary in Python. > In Java I would accomplish this by defining an IFixable interface > that would be implemented by both the Car and Bus objects. Mechanic > objects would work with any object implementing this interface. In Python, you would simply call the functions you need. No need to make things that rigidly defined. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list