12 Jul
2000
12 Jul
'00
12:20 p.m.
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): ..nice... :/ Two questions: 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 attribute? cheers, Chris