]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
By popular demand, add back a security warning.
authorRaymond Hettinger <python@rcn.com>
Sun, 11 May 2014 09:26:23 +0000 (02:26 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 11 May 2014 09:26:23 +0000 (02:26 -0700)
Doc/library/random.rst

index ff9d2ae0bce1070149c357041cd2df190cd5291a..f8b772749f48147d030ae319ef5da8988279cf1b 100644 (file)
@@ -43,6 +43,11 @@ The :mod:`random` module also provides the :class:`SystemRandom` class which
 uses the system function :func:`os.urandom` to generate random numbers
 from sources provided by the operating system.
 
+.. warning::
+
+   The pseudo-random generators of this module should not be used for
+   security purposes.
+
 
 Bookkeeping functions: