Steve Alexander wrote:
> > Do you know if objects in PARENTS are acquisition wrapped?
> I'm pretty sure that they are.
They are indeed, in fact, pretty much everything is :(
The only way to check if o is in PARENTS appears to be:
if o.aq_base in map (lambda o : o.aq_base,PARENTS):
1. Is there a better way of doing the above?
2. Is there any case where a Zope object isn't going to have a .aq_base
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -