The type of an oid depends on the storage, so there is no guarantee that it will be a string. In fact, ZODB4 storages will soon change to using Python longs. APE uses tuples IIRC. Jeremy