[Python-checkins] cpython (2.7): Issue #15936: Add link from os.urandom to random.SystemRandom
andrew.svetlov
python-checkins at python.org
Tue Oct 16 12:23:25 CEST 2012
http://hg.python.org/cpython/rev/2bff4969b65b
changeset: 79737:2bff4969b65b
branch: 2.7
parent: 79731:6fcfe701502b
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Tue Oct 16 13:23:15 2012 +0300
summary:
Issue #15936: Add link from os.urandom to random.SystemRandom
files:
Doc/library/os.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2506,5 +2506,7 @@
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`.
+
.. versionadded:: 2.4
-
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list