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 Jacek.Bzdak
Recipients Jacek.Bzdak, docs@python
Date 2012-09-12.22:09:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347487742.57.0.57747338883.issue15936@psf.upfronthosting.co.za>
In-reply-to
Content
It would be great if one sentence was added to os.urandom description: 
"For easy to use interface to system randomness please see random.SystemRandom class". 

The reason for this change is that many references quote only os.urandom as a cryptographically strong randomeness source in python, and for some people it might be not obvious that there already exists such easy to use api to use cryptographically strong randomness (that is random.SystemRandom class). It would be good to point such people to right class. 

Myself for example spent last hour trying to create makeshift Random subclass that uses os.urandom as it's randomness source.
History
Date User Action Args
2012-09-12 22:09:02Jacek.Bzdaksetrecipients: + Jacek.Bzdak, docs@python
2012-09-12 22:09:02Jacek.Bzdaksetmessageid: <1347487742.57.0.57747338883.issue15936@psf.upfronthosting.co.za>
2012-09-12 22:09:01Jacek.Bzdaklinkissue15936 messages
2012-09-12 22:09:00Jacek.Bzdakcreate