File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3730,3 +3730,9 @@ Miscellaneous Functions
37303730
37313731 For an easy-to-use interface to the random number generator
37323732 provided by your platform, please see :class: `random.SystemRandom `.
3733+
3734+ .. versionchanged :: 3.5
3735+ On Linux 3.17 and newer, the ``getrandom() `` syscall is now used
3736+ when available. On OpenBSD 5.6 and newer, the C ``getentropy() ``
3737+ function is now used. These functions avoid the usage of an internal file
3738+ descriptor.
Original file line number Diff line number Diff line change 648648* :class: `os.stat_result ` now has a :attr: `~os.stat_result.st_file_attributes `
649649 attribute on Windows. (Contributed by Ben Hoyt in :issue: `21719 `.)
650650
651+ * :func: `os.urandom `: On Linux 3.17 and newer, the ``getrandom() `` syscall is
652+ now used when available. On OpenBSD 5.6 and newer, the C ``getentropy() ``
653+ function is now used. These functions avoid the usage of an internal file
654+ descriptor.
655+
651656os.path
652657-------
653658
You can’t perform that action at this time.
0 commit comments