[Zope3-Users] Re: Splitting ZODB ?

Chris Withers chris at simplistix.co.uk
Tue Jun 27 03:26:14 EDT 2006


Philipp von Weitershausen wrote:
> class IKeyReference(zope.interface.Interface):
>     """A reference to an object (similar to a weak reference).
> 
>     The references are compared by their hashes.
>     """
> 
> There, that wasn't so hard...

Well yeah, but it's also not very explanatory ;-)

If it's similar to a weak reference, why not just a weak reference? What 
are the salient differences between a normal weak reference and a key 
reference?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope3-users mailing list