Perhaps I could restate my question: Given an object path, say 'app.Stuff.Story', how can I determine what methods and attributes that object inherits and acquires.
On Tue, 29 Feb 2000, Damian Morton wrote:
I can quite happily traverse the object and its inheritance tree using obj.__dict__ and obj.__class__.__dict__ and obj.__class__.__bases__ and such, but there seem to be a whole bunch of attributes and methods available for objects that I can only guess at. I assume they are acquired rather than inherited. Not being really familiar with acquisition (even after reading all the available docs), any tips on how best to traverse the acquisition path on my search for attributes and methods would be greatly appreciated.
From: Jeff K. Hoffman [mailto:jeff.hoffman@goingv.com]
It is very hard to come at Zope and say, "Show me all of the possible methods I could apply on this object through acquisition." It is quite easy, though, to say, "Can I call this method on this object, through natural means or through acquisition?"