[ZODB-Dev] FW: standalone windows 1.0rc1 exe

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 31 Jan 2002 14:37:27 +0000


On Wed, 30 Jan 2002 15:08:27 -0500, Shane Hathaway <shane@zope.com>
wrote:

>... unless the list held a weak reference to its parent...

Currently persistent objects are not weakly referenceable. Im not sure
what the semantics should be. Is the weak reference broken when the
object is deactivated from memory (which I would expect from knowing
the weakref semantics) or when it is removed from the ODB.

Indeed you could currently achieve the same thing using a strong
reference to the parent persistent object. Eventually the parent
persistent object would be ghostified, decrefing and deleting the
list, which finally decrefs the object (which is now a ghost)



Toby Dickenson
tdickenson@geminidataloggers.com