summaryrefslogtreecommitdiff
path: root/Python/random.c
AgeCommit message (Expand)AuthorLines
2018-11-12bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503)Miss Islington (bot)-2/+2
2018-11-12[3.6] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10493)Gregory P. Smith-0/+9
2018-03-20[3.6] bpo-33021: Release the GIL during fstat() calls (GH-6019) (GH-6160)Miss Islington (bot)-1/+6
2017-12-15bpo-32329: Fix sys.flags.hash_randomization (#4875)Victor Stinner-0/+3
2017-01-07Issue #29157: Prefer getrandom() over getentropy()Victor Stinner-87/+187
2017-01-01merge 3.5 (#29057)Benjamin Peterson-1/+1
2017-01-01only include sys/random.h if it seems like it might have something useful (#2...Benjamin Peterson-1/+1
2016-12-19merge 3.5 (#28932)Benjamin Peterson-1/+1
2016-12-19add a specific configure check for sys/random.h (closes #28932)Benjamin Peterson-1/+1
2016-11-12Issue #28676: merge from 3.5Ned Deily-2/+3
2016-11-12Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.Ned Deily-2/+3
2016-09-20(Merge 3.5) Catch EPERM error in py_getrandom()Victor Stinner-8/+11
2016-09-20Catch EPERM error in py_getrandom()Victor Stinner-7/+8
2016-09-20Cleanup random.cVictor Stinner-28/+53
2016-09-06os.urandom() now blocks on LinuxVictor Stinner-30/+45
2016-08-16Issue #27776: dev_urandom(raise=0) now closes the file descriptor on errorVictor Stinner-0/+1
2016-08-16Issue #27776: Cleanup random.cVictor Stinner-121/+110
2016-08-16Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymoreVictor Stinner-3/+6
2016-08-16Issue #27776: Cleanup random.cVictor Stinner-55/+74
2016-07-29Issue #17596: MINGW: add wincrypt.h in Python/random.cMartin Panter-0/+3
2016-06-17Merge 3.5Victor Stinner-2/+2
2016-06-16py_getrandom(): use long type for the syscall() resultVictor Stinner-2/+2
2016-06-14Merge 3.5Victor Stinner-1/+1
2016-06-14cleanup random.cVictor Stinner-1/+1
2016-06-14Merge 3.5 (os.urandom, issue #27278)Victor Stinner-1/+1
2016-06-14Fix os.urandom() using getrandom() on LinuxVictor Stinner-1/+1
2016-06-10Merge comment fix from 3.5Martin Panter-2/+2
2016-06-10Fix typo and move comment to appropriate conditionMartin Panter-2/+2
2016-06-08py_getrandom(): use char* instead of void* for the destinationVictor Stinner-5/+8
2016-06-07Merge 3.5 (os.urandom)Victor Stinner-3/+21
2016-06-07os.urandom() doesn't block on Linux anymoreVictor Stinner-3/+21
2016-04-12Merge 3.5 (os.urandom)Victor Stinner-5/+12
2016-04-12Fix os.urandom() on Solaris 11.3Victor Stinner-5/+12
2015-11-07Issue #25558: Use compile-time asserts.Serhiy Storchaka-1/+1
2015-10-01Merge 3.4 (os.urandom)Victor Stinner-0/+2
2015-10-01Issue #25003: os.urandom() doesn't use getentropy() on Solaris becauseVictor Stinner-4/+8
2015-10-01Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()Victor Stinner-15/+34
2015-07-30py_getrandom(): getrandom() *can* return EINTRVictor Stinner-1/+0
2015-03-30(Merge 3.4) Issue #22585: os.urandom() now releases the GIL when theVictor Stinner-6/+14
2015-03-30Issue #22585: os.urandom() now releases the GIL when the getentropy() is usedVictor Stinner-6/+14
2015-03-30Issue #22181: os.urandom() now releases the GIL when the getrandom()Victor Stinner-2/+11
2015-03-30Issue #23752: _Py_fstat() is now responsible to raise the Python exceptionVictor Stinner-2/+1
2015-03-19Issue #23707: On UNIX, os.urandom() now calls the Python signal handler whenVictor Stinner-19/+11
2015-03-19Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() beforeVictor Stinner-4/+4
2015-03-19Issue #22181: The availability of the getrandom() is now checked in configure,Victor Stinner-8/+5
2015-03-18Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall ifVictor Stinner-6/+84
2015-03-18Issue #23694: Enhance _Py_open(), it now raises exceptionsVictor Stinner-7/+3
2015-02-21Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Wind...Steve Dower-3/+3
2014-12-21Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner-7/+41
2014-12-21Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner-4/+35