Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7d895d3c
Commit
7d895d3c
authored
Nov 12, 2016
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #28676: merge from 3.5
parents
58d3e545
7ae41126
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Misc/NEWS
Misc/NEWS
+6
-0
Python/random.c
Python/random.c
+3
-2
No files found.
Misc/NEWS
View file @
7d895d3c
...
...
@@ -68,6 +68,12 @@ Tests
-
Issue
#
23839
:
Various
caches
now
are
cleared
before
running
every
test
file
.
Build
-----
-
Issue
#
28676
:
Prevent
missing
'getentropy'
declaration
warning
on
macOS
.
Patch
by
Gareth
Rees
.
What
's New in Python 3.6.0 beta 3
=================================
...
...
Python/random.c
View file @
7d895d3c
...
...
@@ -12,9 +12,10 @@
# ifdef HAVE_LINUX_RANDOM_H
# include <linux/random.h>
# endif
# if
def HAVE_GETRANDOM
# if
defined(HAVE_GETRANDOM) || defined(HAVE_GETENTROPY)
# include <sys/random.h>
# elif defined(HAVE_GETRANDOM_SYSCALL)
# endif
# if !defined(HAVE_GETRANDOM) && defined(HAVE_GETRANDOM_SYSCALL)
# include <sys/syscall.h>
# endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment