I've been having trouble getting the object ID of persisted objects in the ZODB. I have read that the _p_oid attribute is supposed to contain this, but when I access persisted objects from a filestore and check this value it always seems to be None.

Also, is there any way to get an object ID *before* an object has been persisted?


For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to