Message45682
Logged In: YES
user_id=973611
Thanks for the pointer. I'm actually not smitten with any
of the approaches for long<->byte-string conversion (mine
included). Now that I think about it, the best interface
might be if Python had a 'bytes' type, then both conversions
could be done by constructors:
long(bytes)
bytes(long)
If Python is going to grow such a type in the future, maybe
we can defer this question, and live with the hexlifying and
whatnot, till then. |
|
Date |
User |
Action |
Args |
2007-08-23 15:36:55 | admin | link | issue923643 messages |
2007-08-23 15:36:55 | admin | create | |
|