Tim Peters wrote:
no inverse for oid_repr, and there isn't a need for one. For any 8-byte
string oid S,
p64(int(oid_repr(S), 0)) == S
so that's how to "get an inverse" of oid_repr if you really want one
(although I don't know why anyone would).
...'cos oid_repr is what gets used to log those "Shouldn't load state
for" errors, so I needed to take something from oid_repr and trun it
into something I could try and use with app._p_jar[...]
+1 on better documention: improve docstrings, add comments, add overviews.
If anyone's worried about it, adding comments does not increase Python's
Thanks, so trunk, and which branches again for this?
Simplistix - Content Management, Zope & Python Consulting
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org