Author pitrou
Recipients bob.ippolito, josiahcarlson, loewis, mark.dickinson, mwh, pitrou, rhettinger, tim.peters
Date 2008-07-05.18:34:54
SpamBayes Score 0.268611
Marked as misclassified No
Message-id <1215282896.03.0.62683257353.issue1023290@psf.upfronthosting.co.za>
In-reply-to
Content
Pickle is a solution only if you accept the target format to be opaque,
which is not what you are looking for usually.
Once again I just had to write the cumbersome:

junk_len = 1024
junk =  (("%%0%dX" % junk_len) % random.getrandbits(junk_len *
8)).decode("hex")

... because there is no obvious way to convert longs to bytes.
History
Date User Action Args
2008-07-05 18:34:56pitrousetspambayes_score: 0.268611 -> 0.268611
recipients: + pitrou, mwh, tim.peters, loewis, rhettinger, josiahcarlson, bob.ippolito, mark.dickinson
2008-07-05 18:34:56pitrousetspambayes_score: 0.268611 -> 0.268611
messageid: <1215282896.03.0.62683257353.issue1023290@psf.upfronthosting.co.za>
2008-07-05 18:34:55pitroulinkissue1023290 messages
2008-07-05 18:34:54pitroucreate