SHA-based subclass for random module

Trevor Perrin trevp_spam at trevp.net
Thu Mar 25 22:27:54 EST 2004


Paul Rubin wrote:

> python at rcn.com (Raymond Hettinger) writes:
> 
>>>I was thinking the same.  How about something like:
>>>
>>>   bigNumber = long(bigNumberString, 256)
>>>
>>>   bigNumberString = bigNumber.tostring()
>>
>>If this is something you want, file a feature request on SF.
> 
> 
> I made a request like that a long while ago.  Guido suggested that it
> be added to the binascii module, if I remember right.  See SF # 465045
> but there may have been another one elsewhere as well.

yup, I'm following your footsteps again! :-).

It looks like people agreed it was a good idea, it just needed a patch. 
  I gave it a shot, we'll see what happens:

#923643
http://sourceforge.net/tracker/index.php?func=detail&aid=923643&group_id=5470&atid=305470

Trevor







More information about the Python-list mailing list