summaryrefslogtreecommitdiff
path: root/Python/random.c
Commit message (Expand)AuthorAgeFilesLines
* Issue #29157: Prefer getrandom() over getentropy()Victor Stinner2017-01-071-87/+187
* merge 3.5 (#29057)Benjamin Peterson2017-01-011-165/+175
|\
| * merge 3.5 (#28932)Benjamin Peterson2016-12-191-1/+1
| |\
| * \ Issue #28676: merge from 3.5Ned Deily2016-11-121-2/+3
| |\ \
| * \ \ (Merge 3.5) Catch EPERM error in py_getrandom()Victor Stinner2016-09-201-165/+175
| |\ \ \
| | * | | os.urandom() now blocks on LinuxVictor Stinner2016-09-061-31/+46
| | * | | Issue #27776: dev_urandom(raise=0) now closes the file descriptor on errorVictor Stinner2016-08-161-0/+1
| | * | | Issue #27776: Cleanup random.cVictor Stinner2016-08-161-121/+110
| | * | | Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymoreVictor Stinner2016-08-161-3/+6
| | * | | Issue #27776: Cleanup random.cVictor Stinner2016-08-161-55/+74
| | * | | Issue #17596: MINGW: add wincrypt.h in Python/random.cMartin Panter2016-07-291-0/+3
| | * | | Merge 3.5Victor Stinner2016-06-171-2/+2
| | |\ \ \
| | * \ \ \ Merge 3.5Victor Stinner2016-06-141-6/+9
| | |\ \ \ \
| | | * \ \ \ Merge 3.5 (os.urandom, issue #27278)Victor Stinner2016-06-141-6/+9
| | | |\ \ \ \
| | | | * \ \ \ Merge comment fix from 3.5Martin Panter2016-06-101-2/+2
| | | | |\ \ \ \
| | | | * | | | | py_getrandom(): use char* instead of void* for the destinationVictor Stinner2016-06-081-5/+8
| | | | * | | | | Merge 3.5 (os.urandom)Victor Stinner2016-06-071-3/+21
| | | | |\ \ \ \ \
| | | | * \ \ \ \ \ Merge 3.5 (os.urandom)Victor Stinner2016-04-121-1/+1
| | | | |\ \ \ \ \ \
| | | | | * | | | | | Issue #25558: Use compile-time asserts.Serhiy Storchaka2015-11-071-1/+1
* | | | | | | | | | | only include sys/random.h if it seems like it might have something useful (#2...Benjamin Peterson2017-01-011-1/+1
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | add a specific configure check for sys/random.h (closes #28932)Benjamin Peterson2016-12-191-1/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.Ned Deily2016-11-121-2/+3
|/ / / / / / / /
* | | | | | | | Catch EPERM error in py_getrandom()Victor Stinner2016-09-201-7/+8
* | | | | | | | Cleanup random.cVictor Stinner2016-09-201-28/+53
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | py_getrandom(): use long type for the syscall() resultVictor Stinner2016-06-161-2/+2
|/ / / / / /
* | | | | | cleanup random.cVictor Stinner2016-06-141-1/+1
|/ / / / /
* | | | | Fix os.urandom() using getrandom() on LinuxVictor Stinner2016-06-141-1/+1
| |_|_|/ |/| | |
* | | | Fix typo and move comment to appropriate conditionMartin Panter2016-06-101-2/+2
| |_|/ |/| |
* | | os.urandom() doesn't block on Linux anymoreVictor Stinner2016-06-071-3/+21
|/ /
* | Fix os.urandom() on Solaris 11.3Victor Stinner2016-04-121-5/+12
|/
* Merge 3.4 (os.urandom)Victor Stinner2015-10-011-38/+125
|\
| * Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()Victor Stinner2015-10-011-15/+34
| * py_getrandom(): getrandom() *can* return EINTRVictor Stinner2015-07-301-1/+0
| * (Merge 3.4) Issue #22585: os.urandom() now releases the GIL when theVictor Stinner2015-03-301-36/+107
| |\
| | * Issue #22181: os.urandom() now releases the GIL when the getrandom()Victor Stinner2015-03-301-2/+11
| | * Issue #23752: _Py_fstat() is now responsible to raise the Python exceptionVictor Stinner2015-03-301-2/+1
| | * Issue #23707: On UNIX, os.urandom() now calls the Python signal handler whenVictor Stinner2015-03-191-19/+11
| | * Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() beforeVictor Stinner2015-03-191-4/+4
| | * Issue #22181: The availability of the getrandom() is now checked in configure,Victor Stinner2015-03-191-8/+5
| | * Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall ifVictor Stinner2015-03-181-6/+84
| | * Issue #23694: Enhance _Py_open(), it now raises exceptionsVictor Stinner2015-03-181-7/+3
| | * Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Wind...Steve Dower2015-02-211-3/+3
* | | Issue #25003: os.urandom() doesn't use getentropy() on Solaris becauseVictor Stinner2015-10-011-4/+8
|/ /
* | Issue #22585: os.urandom() now releases the GIL when the getentropy() is usedVictor Stinner2015-03-301-6/+14
|/
* Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-7/+41
* Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
* Issue #21207: Detect when the os.urandom cached fd has been closed or replace...Antoine Pitrou2014-04-261-10/+39
* Issue #16136: Remove VMS support and VMS-related codeChristian Heimes2013-12-211-33/+4
* ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.Christian Heimes2013-11-201-6/+7
* Fix compiler warning in win32_urandom(): explicit cast to DWORD inVictor Stinner2013-11-151-1/+1