On Wed, 2003-12-10 at 15:36, Sidnei da Silva wrote: > | 'jar' gives: > | object : <attribute '_p_jar' of 'persistent.Persistent' objects> > | type : getset_descriptor > | refcount: 2 > | address : 0x40621e6c > | > | Thus, asking for the class's _p_jar gives the descriptor back. In ZODB4 > | I hacked around this by requiring that the value of _p_jar be None or a > | string. Would there be any objection to having the same requirement in > | ZODB3? > > I have no clue about the implications of this, but it seems like a > reasonable constraint to me.
Actually, that's just a brain cramp on my part. We can check that an oid is a string or None, but not a jar. I'll have to think about an efficient check. Jeremy _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )