Re: [ZODB-Dev] 8-byte oids
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/14/2009 08:36 AM, Christian Theune wrote: > On 08/13/2009 10:42 PM, Shane Hathaway wrote: >> Jim Fulton wrote: >>> IPersistent specifies OIDs to be non-empty strings and reserves the >>> 8-byte OID consisting of 8 null characters. Lots of ZODB >>> infrastructure assumes that oids are 8 bytes. I'm tempted to say that >>> oids must be 8-byte strings. > >> +1. The simplified standard promotes interoperability. > > The difference to the spec before would be that previously strings with > less than 8 bytes were allowed? Never mind, reading one of your mails in the other thread actually cleared this up. - -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqFBkgACgkQdUt9X/gknwLJVACgiF5Mk4o++FpLBXft4VGQUYpF oMUAoLoGs1BnnkU6m7ZVhg8xQAmF9Mys =yzsl -END PGP SIGNATURE- ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] 8-byte oids
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2009 10:42 PM, Shane Hathaway wrote: > Jim Fulton wrote: >> IPersistent specifies OIDs to be non-empty strings and reserves the >> 8-byte OID consisting of 8 null characters. Lots of ZODB >> infrastructure assumes that oids are 8 bytes. I'm tempted to say that >> oids must be 8-byte strings. > > +1. The simplified standard promotes interoperability. The difference to the spec before would be that previously strings with less than 8 bytes were allowed? - -- Christian Theune · c...@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqFBfAACgkQdUt9X/gknwLO9QCeNuLCMk1qElAGJLFGMyagoFZT djMAn3OAPe3BD++9UqzdPMTLwaky0idH =mYEo -END PGP SIGNATURE- ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] 8-byte oids
Jim Fulton wrote: > IPersistent specifies OIDs to be non-empty strings and reserves the > 8-byte OID consisting of 8 null characters. Lots of ZODB > infrastructure assumes that oids are 8 bytes. I'm tempted to say that > oids must be 8-byte strings. +1. The simplified standard promotes interoperability. > Does anyone see a problem with this? I don't anymore. Shane ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev