[Zope] hasattr

Dieter Maurer dieter at handshake.de
Tue Sep 14 16:11:47 EDT 2004


Garito wrote at 2004-9-14 17:44 +0200:
> ...
>My problems begins when I try to know if these objects has some 
>properties. If I try these:
>
>hasattr(object.aq_explicit, 'someproperty')
>
>the function returns false but when I go to ZMI to object's properties 
>form I could see the property someproperty

I cannot believe this! The objects must be different.

-- 
Dieter


More information about the Zope mailing list