[New-bugs-announce] [issue15936] Add link from os.urandom to random.SystemRandom

Jacek Bzdak report at bugs.python.org
Thu Sep 13 00:09:02 CEST 2012

New submission from Jacek Bzdak:

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.

assignee: docs at python
components: Documentation
messages: 170423
nosy: Jacek.Bzdak, docs at python
priority: normal
severity: normal
status: open
title: Add link from os.urandom to random.SystemRandom
type: enhancement
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list