summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-07-29 00:29:54 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-07-29 00:29:54 (GMT)
commit9f0b5e709701c55e7f235ecab3ce071531cd10ae (patch)
tree851cc57624ae75c32c85407210a71aca1c3f7d92 /Doc/library/os.rst
parenta1d9fa326ce3c3a119a86ab1f165cf682bbb594d (diff)
parentace8848df69ba927c6fb4af7fffef706a1a19279 (diff)
downloadcpython-9f0b5e709701c55e7f235ecab3ce071531cd10ae.zip
cpython-9f0b5e709701c55e7f235ecab3ce071531cd10ae.tar.gz
cpython-9f0b5e709701c55e7f235ecab3ce071531cd10ae.tar.bz2
Merge 3.5 (doc)
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 0acb8a5..cb34f3e 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -3735,3 +3735,9 @@ Miscellaneous Functions
For an easy-to-use interface to the random number generator
provided by your platform, please see :class:`random.SystemRandom`.
+
+ .. versionchanged:: 3.5
+ On Linux 3.17 and newer, the ``getrandom()`` syscall is now used
+ when available. On OpenBSD 5.6 and newer, the C ``getentropy()``
+ function is now used. These functions avoid the usage of an internal file
+ descriptor.