Message45682
| Author |
trevp |
| Recipients |
| Date |
2004年09月16日.06:56:10 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:36:55 | admin | link | issue923643 messages |
| 2007年08月23日 15:36:55 | admin | create |
|