Re: [ZODB-Dev] oids, numbers, hex and 8-byte strings

2005-10-27 Thread Chris Withers
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

RE: [ZODB-Dev] oids, numbers, hex and 8-byte strings

2005-10-27 Thread Tim Peters
[Tim] There is 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). [Chris] ...'cos oid_repr is what gets used

RE: [ZODB-Dev] Re: Weird errors with Zope 2.7.7

2005-10-27 Thread Tim Peters
[Chris] logger.info('blah',show_stack=True) ... [Tim] It's not hard to roll yourself, so I expect (but don't know) that the logging module's author would resist adding it. [Chris] I guess that's my question. Where and who should I ask about it? On a Python list (doh ;-)). Vinay Sajip is