On Sat, Jan 22, 2011 at 3:23 PM, Jim Fulton <j...@zope.com> wrote: > a.child == None > > will because equality comparison will attempt to access > methods on the child, which will cause it's activation. >
Why would it unghost the object? If it is already instantiated it already has all the magic methods that it needs for == , I was in the impression that the dictionary would only be loaded if any of the magic methods tried to access a property on the object. Is this to support overriding methods on objects after instantiation (like manually messing around with an objects __dict__)? I tried to read the source of ZODB (to think in what way could it be ported to pypy) but I didn't get very far. -- Leonardo Santagada _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev