[Zope-dev] ZBabel Object incompatibility with Zope 2.5 b2

Joachim Werner joe@iuveno-net.de
Tue, 11 Dec 2001 22:55:27 +0100


Doesn't seem to make any difference :-(

What does that option do?


> >
> >class Rewrapper(Base):
> >
> >    def __init__(self, path):
> >        self._path = path
> >
> >    def __of__(self, parent):
> >        ob = parent
> >        for p in self._path:
> >            ob = getattr(ob, p)   <= HERE WE GET A RECURSION ERROR
> >        return ob
> >
> >
> 
> OK,
> 
> I think this is somthing similar to what Martijn Faassen was seeing 
> where its causing an acquisition wrapper to be wrapped with itself.
> 
> I'm thinking about it right now.
> 
> As an experiment, try setting ZOPE_SECURITY_POLICY=PYTHON before 
> starting Zope and see if you still get the error.
> 
>