> Consider using one > of these alternatives instead: > > * Set the IOTreeSet as an attribute directly on the persistent object. >
You mean on the persistent object I am using as key? > * Use http://pypi.python.org/pypi/zope.intid and use the intid for the > key. (This uses http://pypi.python.org/pypi/zope.keyreference which > uses the referenced object's oid and database name to perform the > comparison, avoiding the need to load the persistent object.) > This looks really nice. However it seems to depend on a lot of zope libraries that I'm currently including: location, component, security... well, I guess they're not that large. I will give it a look, maybe I'll use it. Thanks a lot! Pedro -- José Pedro Ferreira Indico Team IT-UDS-AVC 513-R-0042 CERN, Geneva, Switzerland _______________________________________________ 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