[Zope-dev] override __of__

2003-02-06 Thread Tim McLaughlin
Is there any way to override __of__ on an object? I've tried it but for whatever reason, Implicit.__of__(self, object) says that self is not an Acquirer even though the object is a subclass of Implicit. I would implement in a traverse hook, but attribute access of that object won't do

Re: [Zope-dev] override __of__

2003-02-06 Thread Chris McDonough
Is this what you're trying to do? Starting debugger /home/chrism/projects/TIProject/bin/python -i -c import user;import Zope;app=Zope.app() from Acquisition import Implicit class Foo(Implicit): ... def __of__(self, parent): ... return Implicit.__of__(self, parent) ... f =