[Python-checkins] cpython (merge 3.3 -> default): Merge issue #15936: Add link from os.urandom to random.SystemRandom
andrew.svetlov
python-checkins at python.org
Tue Oct 16 12:15:52 CEST 2012
http://hg.python.org/cpython/rev/34c2bb737364
changeset: 79736:34c2bb737364
parent: 79734:c20b0b5590db
parent: 79735:0a0b890508d3
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Tue Oct 16 13:15:35 2012 +0300
summary:
Merge 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