This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:55adminlinkissue923643 messages
2007-08-23 15:36:55admincreate