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

Matthew T. Kromer matt@zope.com
Tue, 11 Dec 2001 13:14:21 -0500


Joachim Werner wrote:

>
>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.