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
runtime <wink>.

Thanks, so trunk, and which branches again for this?

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
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

Reply via email to