summaryrefslogtreecommitdiffstats
path: root/Python/random.c
Commit message (Expand)AuthorAgeFilesLines
* 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-161-2/+2
|\
| * py_getrandom(): use long type for the syscall() resultVictor Stinner2016-06-161-2/+2
* | Merge 3.5Victor Stinner2016-06-141-1/+1
|\ \ | |/
| * cleanup random.cVictor Stinner2016-06-141-1/+1
* | Merge 3.5 (os.urandom, issue #27278)Victor Stinner2016-06-141-1/+1
|\ \ | |/
| * Fix os.urandom() using getrandom() on LinuxVictor Stinner2016-06-141-1/+1
* | Merge comment fix from 3.5Martin Panter2016-06-101-2/+2
|\ \ | |/
| * Fix typo and move comment to appropriate conditionMartin 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
|\ \ | |/
| * os.urandom() doesn't block on Linux anymoreVictor Stinner2016-06-071-3/+21
* | Merge 3.5 (os.urandom)Victor Stinner2016-04-121-5/+12
|\ \ | |/
| * Fix os.urandom() on Solaris 11.3Victor Stinner2016-04-121-5/+12
* | Issue #25558: Use compile-time asserts.Serhiy Storchaka2015-11-071-1/+1
|/
* Merge 3.4 (os.urandom)Victor Stinner2015-10-011-0/+2
|\
| * Issue #25003: os.urandom() doesn't use getentropy() on Solaris becauseVictor Stinner2015-10-011-4/+8
* | 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-6/+14
|\ \ | |/
| * 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
* | 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-171-7/+3
* | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on Wind...Steve Dower2015-02-211-3/+3
* | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-4/+35
* | Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
|\ \ | |/
| * Removed duplicated words in in comments and docs.Serhiy Storchaka2014-12-011-1/+1
* | Issue21393 Use CryptReleaseContext to release Crypt handle on WindowsTim Golden2014-05-061-1/+1
* | Issue #21393: random.c: on Windows, close the hCryptProv handle at exitVictor Stinner2014-05-021-3/+6
|/
* 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
* merge with 3.3Georg Brandl2013-10-061-2/+3
|\
| * Closes #15213: update comment for _PyOS_URandomGeorg Brandl2013-10-061-2/+3
* | Issue #18756: os.urandom() now uses a lazily-opened persistent file descripto...Antoine Pitrou2013-08-301-13/+42
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-2/+2
* | Issue #18756: Improve error reporting in os.urandom() when the failure is due...Antoine Pitrou2013-08-161-2/+6
|\ \ | |/
| * Issue #18756: Improve error reporting in os.urandom() when the failure is due...Antoine Pitrou2013-08-161-2/+6
* | Drop support for Windows 2000; allow any XP API (but not Vista+).Martin v. Löwis2013-01-251-30/+3
|/