[Python-checkins] cpython: By popular demand, add back a security warning.

raymond.hettinger python-checkins at python.org
Sun May 11 11:26:32 CEST 2014


http://hg.python.org/cpython/rev/365674ea3613
changeset:   90623:365674ea3613
user:        Raymond Hettinger <python at rcn.com>
date:        Sun May 11 02:26:23 2014 -0700
summary:
  By popular demand, add back a security warning.

files:
  Doc/library/random.rst |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Doc/library/random.rst b/Doc/library/random.rst
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -43,6 +43,11 @@
 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:
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list