Re: [Zope] UNEXPECTED: Acquisition.Explicit may acquire implicitly

2001-01-03 Thread Dieter Maurer
Pierre-Julien Grizel writes: Dieter Maurer wrote: This implies, that the idiom dtml-if "_.hasattr(o.aq_explicit,)" cannot be used safely to test, whether "o" has attribute itself (rather than acquired it). We probably should have a standard

Re: [Zope] UNEXPECTED: Acquisition.Explicit may acquire implicitly

2001-01-02 Thread Pierre-Julien Grizel
Dieter Maurer wrote: While trying to understand, what the "bself= self.aq_explicit" in "OFS.DTMLMethod.__call__" should do, I detected an unexpected behaviour: usually, this "bself" acquires implicitly from its container (though not from its context) More precisely: if

[Zope] UNEXPECTED: Acquisition.Explicit may acquire implicitly

2000-12-31 Thread Dieter Maurer
While trying to understand, what the "bself= self.aq_explicit" in "OFS.DTMLMethod.__call__" should do, I detected an unexpected behaviour: usually, this "bself" acquires implicitly from its container (though not from its context) More precisely: if "bself.aq_self" is itself an