[Zodb-checkins] SVN: ZODB/trunk/src/persistent/interfaces.py Nail the type of oids, as agreed ; -) to in

Tim Peters tim.one at comcast.net
Fri Dec 9 11:19:04 EST 2005


Log message for revision 40664:
  Nail the type of oids, as agreed ;-) to in
  
  http://mail.zope.org/pipermail/zodb-dev/2005-March/008593.html
  

Changed:
  U   ZODB/trunk/src/persistent/interfaces.py

-=-
Modified: ZODB/trunk/src/persistent/interfaces.py
===================================================================
--- ZODB/trunk/src/persistent/interfaces.py	2005-12-09 16:04:25 UTC (rev 40663)
+++ ZODB/trunk/src/persistent/interfaces.py	2005-12-09 16:19:03 UTC (rev 40664)
@@ -167,7 +167,9 @@
 
         It is up to the data manager to assign this.
         The special value None is reserved to indicate that an object
-        id has not been assigned.  Non-None object ids must be strings.
+        id has not been assigned.  Non-None object ids must be non-empty
+        strings.  The 8-byte string '\0'*8 (8 NUL bytes) is reserved to
+        identify the database root object.
         """)
 
     _p_changed = Attribute(



More information about the Zodb-checkins mailing list