Stefan Bund wrote at 2004-5-11 18:07 +0200:
while solving a somewhat intricate acquisition problem, I came discovered, that the statement, that aq_inner will return an object wrapped by containment only seems to be incorrect. Here is the simplified scenario to show this:
Let a and c be attributes of x, let b be an attribute of a. Then x.a.c.a.b is the acquisition tree (as shown in Zope 2.7.0 using a little tool akin showaq)
O-[b] | O-O-[a] | | | [x] ... (self goes to the right, parent down). The important thing is, that aq_inner of this is the same tree.
Sure, because "aq_self" ("b") is not a wrapper. This is the criterion for an "aq_inner" object. For 0-0-[a] | [x] aq_inner would give you 0-[a] | [x] as in this case, "self" is still a wrapper. -- Dieter