diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-06 23:18:52 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-06 23:18:52 (GMT) |
commit | 9b1f474df6f284de982c422c9a490971ccc1b296 (patch) | |
tree | 0db34b14b2c1b480d31050d035a2684333e8fc44 /Doc/whatsnew | |
parent | 3580b03352d8f04ebd0e9ce358868a6c53f4243c (diff) | |
download | cpython-9b1f474df6f284de982c422c9a490971ccc1b296.zip cpython-9b1f474df6f284de982c422c9a490971ccc1b296.tar.gz cpython-9b1f474df6f284de982c422c9a490971ccc1b296.tar.bz2 |
Add os.getrandom()
Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom()
function.
This change is part of the PEP 524.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 270424e..683ea82 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -484,6 +484,10 @@ iterator is neither exhausted nor explicitly closed a :exc:`ResourceWarning` will be emitted in its destructor. (Contributed by Serhiy Storchaka in :issue:`25994`.) +The Linux ``getrandom()`` syscall (get random bytes) is now exposed as the new +:func:`os.getrandom` function. +(Contributed by Victor Stinner, part of the :pep:`524`) + pickle ------ |