property type missing

Eric Texier erict at millfilm.co.uk
Fri Jun 21 12:24:43 EDT 2002


I am using "property" and I would like to retrieve their name
automatically
from the dict-proxy of my class.

I do something like:
class foo:
    ....

>>> a = foo()
>>> d = vars(a.__class__)
>>> d.items()
[('ouputType', <property object at 0x8182e74>),.....

know I would like now, to check again the "types" module the type of all
the value
to define which one are of type property.
But   types doesn't have it define. I am wondering why and if it will be
a way
around.

Thanks
Eric





More information about the Python-list mailing list