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
[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
[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