From: Raymond Hettinger Date: Sun, 11 May 2014 09:26:23 +0000 (-0700) Subject: By popular demand, add back a security warning. X-Git-Tag: v3.5.0a1~1696 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c89a451ae13339d803cad639f2c61af2c67f5fc2;p=thirdparty%2FPython%2Fcpython.git By popular demand, add back a security warning. --- diff --git a/Doc/library/random.rst b/Doc/library/random.rst index ff9d2ae0bce1..f8b772749f48 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -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: