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@python
components: Documentation
messages: 170423
nosy: Jacek.Bzdak, docs@python
priority: normal
severity: normal
status: open
title: Add link from os.urandom to random.SystemRandom
type: enhancement
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15936>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to