title: List all base classes in a hierarchy of given class?
body: <p>Given a class <code>Foo</code> (whether it is a <a href="http://docs.python.org/reference/datamodel.html#new-style-and-classic-classes" rel="noreferrer">new-style</a> class or not), how do you generate <strong>all</strong> the base classes - anywhere in the inheritance hierarchy - it <a href="http://docs.python.org/library/functions.html?highlight=issubclass#issubclass" rel="noreferrer"><code>issubclass</code></a> of?</p>