[Python-checkins] cpython (3.3): Issue #15936: Add link from os.urandom to random.SystemRandom
andrew.svetlov
python-checkins at python.org
Tue Oct 16 12:15:50 CEST 2012
http://hg.python.org/cpython/rev/0a0b890508d3
changeset: 79735:0a0b890508d3
branch: 3.3
parent: 79733:4f1287be26a6
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Tue Oct 16 13:15:06 2012 +0300
summary:
Issue #15936: Add link from os.urandom to random.SystemRandom
files:
Doc/library/os.rst | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3309,3 +3309,6 @@
though its exact quality depends on the OS implementation. On a Unix-like
system this will query /dev/urandom, and on Windows it will use CryptGenRandom.
If a randomness source is not found, :exc:`NotImplementedError` will be raised.
+
+ For easy to use interface to system randomness please see
+ :class:`random.SystemRandom`.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list