[Zope] getattr and acquisition

Sylvain Thénault Sylvain Thénault
Mon, 16 Dec 2002 18:36:32 +0100


hi,

what's the way to know if an object has an attribute without acquisition?

When I call getattr on a given object which has a parent with the desired 
attribute, it returns the parent attribute. Isn't there a way to give
an additional argument to getattr which tell to use the acquisition
mecanism ?

-- 
Sylvain Thénault

  LOGILAB           http://www.logilab.org