[Zope] get non-acquired attributes of an instance

Andreas Jung lists at zopyx.com
Mon Jun 26 04:56:38 EDT 2006



--On 26. Juni 2006 10:53:39 +0200 thomas desvenain 
<thomas.desvenain at gmail.com> wrote:

> aq_base(aq_inner(obj)).__dict__ ?
>
> hmm it doesn't works, i get metadata only,

'metadata'? This is an unkown term in the context of Zope/Python objects
except for catalog brain objects...what you you mean?

>
> and with
>
> dir(aq_base(aq_inner(test.toto)))
>
> i get acquired methods too...

Of course yes...that's standard Python behavior.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060626/9063f5bd/attachment.bin


More information about the Zope mailing list