15 Dec
2003
15 Dec
'03
6:55 p.m.
Alan Milligan wrote at 2003-12-15 13:45 +1100:
I'm trying to upgrade my Zpydoc product to Python 2.3.2 from 2.1.3 and have come across a confusing situation in regard to the inspect.getmembers function.
This function uses the builtin dir() function to get a list of an objects attributes. For Zope products, I am getting a situation where returned attributes are not found in the object - explicitly __call__, __delattr__, etc etc.
You know, I have a similar product ("DocFinder"). I directly look into the class' "__dict__" to learn about a class' members. -- Dieter