| Commit message (Expand) | Author | Age | Files | Lines |
* | Issue #29157: enhance py_getrandom() documentation | Victor Stinner | 2017-01-06 | 1 | -13/+20 |
|
|
* | py_getentropy() now supports ENOSYS, EPERM & EINTR | Victor Stinner | 2017-01-06 | 1 | -3/+39 |
|
|
* | Issue #29157: getrandom() is now preferred over getentropy() | Victor Stinner | 2017-01-06 | 1 | -44/+47 |
|
|
* | Issue #29157: Simplify dev_urandom() | Victor Stinner | 2017-01-06 | 1 | -29/+87 |
|
|
* | Issue #29157: dev_urandom() now calls py_getentropy() | Victor Stinner | 2017-01-06 | 1 | -20/+16 |
|
|
* | merge 3.5 (#29057) | Benjamin Peterson | 2017-01-02 | 1 | -1/+1 |
|\ |
|
| * | only include sys/random.h if it seems like it might have something useful (#2... | Benjamin Peterson | 2017-01-02 | 1 | -1/+1 |
|
|
* | | merge 3.5 (#28932) | Benjamin Peterson | 2016-12-20 | 1 | -1/+1 |
|\ \
| |/ |
|
| * | add a specific configure check for sys/random.h (closes #28932) | Benjamin Peterson | 2016-12-20 | 1 | -1/+1 |
|
|
* | | Issue #28676: merge from 3.5 | Ned Deily | 2016-11-12 | 1 | -2/+3 |
|\ \
| |/ |
|
| * | Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. | Ned Deily | 2016-11-12 | 1 | -2/+3 |
|
|
* | | (Merge 3.5) Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 1 | -8/+11 |
|\ \
| |/ |
|
| * | Catch EPERM error in py_getrandom() | Victor Stinner | 2016-09-20 | 1 | -7/+8 |
|
|
| * | Cleanup random.c | Victor Stinner | 2016-09-20 | 1 | -28/+53 |
|
|
* | | os.urandom() now blocks on Linux | Victor Stinner | 2016-09-06 | 1 | -31/+46 |
|
|
* | | Issue #27776: dev_urandom(raise=0) now closes the file descriptor on error | Victor Stinner | 2016-08-16 | 1 | -0/+1 |
|
|
* | | Issue #27776: Cleanup random.c | Victor Stinner | 2016-08-16 | 1 | -121/+110 |
|
|
* | | Issue #27776: _PyRandom_Init() doesn't call PyErr_CheckSignals() anymore | Victor Stinner | 2016-08-16 | 1 | -3/+6 |
|
|
* | | Issue #27776: Cleanup random.c | Victor Stinner | 2016-08-16 | 1 | -55/+74 |
|
|
* | | Issue #17596: MINGW: add wincrypt.h in Python/random.c | Martin Panter | 2016-07-29 | 1 | -0/+3 |
|
|
* | | Merge 3.5 | Victor Stinner | 2016-06-16 | 1 | -2/+2 |
|\ \
| |/ |
|
| * | py_getrandom(): use long type for the syscall() result | Victor Stinner | 2016-06-16 | 1 | -2/+2 |
|
|
* | | Merge 3.5 | Victor Stinner | 2016-06-14 | 1 | -1/+1 |
|\ \
| |/ |
|
| * | cleanup random.c | Victor Stinner | 2016-06-14 | 1 | -1/+1 |
|
|
* | | Merge 3.5 (os.urandom, issue #27278) | Victor Stinner | 2016-06-14 | 1 | -1/+1 |
|\ \
| |/ |
|
| * | Fix os.urandom() using getrandom() on Linux | Victor Stinner | 2016-06-14 | 1 | -1/+1 |
|
|
* | | Merge comment fix from 3.5 | Martin Panter | 2016-06-10 | 1 | -2/+2 |
|\ \
| |/ |
|
| * | Fix typo and move comment to appropriate condition | Martin Panter | 2016-06-10 | 1 | -2/+2 |
|
|
* | | py_getrandom(): use char* instead of void* for the destination | Victor Stinner | 2016-06-08 | 1 | -5/+8 |
|
|
* | | Merge 3.5 (os.urandom) | Victor Stinner | 2016-06-07 | 1 | -3/+21 |
|\ \
| |/ |
|
| * | os.urandom() doesn't block on Linux anymore | Victor Stinner | 2016-06-07 | 1 | -3/+21 |
|
|
* | | Merge 3.5 (os.urandom) | Victor Stinner | 2016-04-12 | 1 | -5/+12 |
|\ \
| |/ |
|
| * | Fix os.urandom() on Solaris 11.3 | Victor Stinner | 2016-04-12 | 1 | -5/+12 |
|
|
* | | Issue #25558: Use compile-time asserts. | Serhiy Storchaka | 2015-11-07 | 1 | -1/+1 |
|/ |
|
* | Merge 3.4 (os.urandom) | Victor Stinner | 2015-10-01 | 1 | -0/+2 |
|\ |
|
| * | Issue #25003: os.urandom() doesn't use getentropy() on Solaris because | Victor Stinner | 2015-10-01 | 1 | -4/+8 |
|
|
* | | Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom() | Victor Stinner | 2015-10-01 | 1 | -15/+34 |
|
|
* | | py_getrandom(): getrandom() *can* return EINTR | Victor Stinner | 2015-07-30 | 1 | -1/+0 |
|
|
* | | (Merge 3.4) Issue #22585: os.urandom() now releases the GIL when the | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
|\ \
| |/ |
|
| * | Issue #22585: os.urandom() now releases the GIL when the getentropy() is used | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
|
|
| * | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), | Victor Stinner | 2014-12-21 | 1 | -7/+41 |
|
|
* | | Issue #22181: os.urandom() now releases the GIL when the getrandom() | Victor Stinner | 2015-03-30 | 1 | -2/+11 |
|
|
* | | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 1 | -2/+1 |
|
|
* | | Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when | Victor Stinner | 2015-03-19 | 1 | -19/+11 |
|
|
* | | Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before | Victor Stinner | 2015-03-19 | 1 | -4/+4 |
|
|
* | | Issue #22181: The availability of the getrandom() is now checked in configure, | Victor Stinner | 2015-03-19 | 1 | -8/+5 |
|
|
* | | Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if | Victor Stinner | 2015-03-18 | 1 | -6/+84 |
|
|
* | | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-17 | 1 | -7/+3 |
|
|
* | | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Wind... | Steve Dower | 2015-02-21 | 1 | -3/+3 |
|
|
* | | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), | Victor Stinner | 2014-12-21 | 1 | -4/+35 |
|
|