Toby Dickenson wrote:
> 
> On Fri, 08 Dec 2000 10:57:48 -0500, Jim Fulton <[EMAIL PROTECTED]>
> wrote:
> 
> >I'm inclined to think that in some future version of Zope, we
> >should switch to making explicit acquisition the norm.
> 
> Jim, do you have any opinions on some of the other acquisition
> strategies that have been mentioned on the list?

I don't have time to read the list normally. :( 
(This is bad. I need to fix this and am trying to ....)
 
> In particular, there seems to be merit in an acquisition that searches
> only the containment heirarchy.

Of course. Zope already doesn this for security.  It does this
by brute force most of the time, although there's now more API
support for it. There's a 'containment' keyword flag argument
to the aq_acquire method, so, at least from Python, you can
force acquisition to search *only* the containment hierarchy.

I think that there's merit to providing more control over how
acquisition happens. This is consistent with making acquisition
more explicit. 

Jim

--
Jim Fulton           mailto:[EMAIL PROTECTED]   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to