Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Chris Withers
> Also, be sure optimize, because __getattr__ gets called *a lot*. In > some cases, I've measured it getting invoked hundreds of thousands of > times in a single request! Ouch! How was that happening? Chris ___ Zope-Dev maillist - [EMAIL PROTECT

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Dieter Maurer
Lupus Yonderboy writes: > I'm having some troubles trying to develop a > particular zope object and would really appreciate a > bit of help. I'll explain what I'm trying to do: > ... Symbolic Link ... I did not read your lengthy explanation, just got the above keyword There is a "SymLink

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Shane Hathaway
Lupus Yonderboy wrote: > I have tried hooking __getattr__ and have a hard time > avoiding recursion; I have taken a look at the > ever-productive Shane Hathaway's TransparentFolder > product as well but I think I am let down by my lack > of understanding of the particulars of acquisition. Here

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Steve Alexander
Lupus Yonderboy wrote: > > Can anyone shed some light on how i might do this? All > objects under the DocumentRoot will be derived from > one of our base classes, so if we need to override > __getattr__ as per TransparentFolders it can be done > easily. Have you looked at the __bobo_traverse__

[Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-25 Thread Lupus Yonderboy
Hi folks, I'm having some troubles trying to develop a particular zope object and would really appreciate a bit of help. I'll explain what I'm trying to do: What we have is a tree of nodes rooted in a folder (excuse my ascii art) like so: + DocumentRoot (folder) + a + b + c