[Zope] Object Acquisition

Luciano Ramalho luciano@hiper.com.br
Wed, 26 Feb 2003 17:56:35 -0300


Thanks a lot for the answer and the patch, Dieter. Could you please 
describe when "aq_explicit" is not reliable for checking the existence 
of unacquired attributes? I ask because we use it quite often, and 
maybe others also use it.

Best regards,

Luciano


On quarta-feira, fev 26, 2003, at 16:12 America/Sao_Paulo, Dieter 
Maurer wrote:

> Samir Mishra wrote at 2003-2-26 14:09 +0400:
>> Sorry to be a bother, seems trivial, just can't seem to find the right
>> syntax for it...
>>
>> How do I check if a particular object exists ONLY in the current 
>> folder (the
>> context) and is not being acquired?
>
> Search the collector for the "hasattr_unacquired" patch.
>
> "aq_explicite" does not work reliably.
>
>
> Dieter
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>