summaryrefslogtreecommitdiffstats
path: root/Python/random.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵Antoine Pitrou2014-04-261-10/+39
| | | | replaced, and open it anew.
* 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
| | | | Python now uses SipHash24 on all major platforms.
* Fix compiler warning in win32_urandom(): explicit cast to DWORD inVictor Stinner2013-11-151-1/+1
| | | | CryptGenRandom()
* 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 ↵Antoine Pitrou2013-08-301-13/+42
| | | | | | | | descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads.
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-2/+2
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou2013-08-161-2/+6
|\ \ | |/ | | | | due to something else than /dev/urandom not existing.
| * Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou2013-08-161-2/+6
| | | | | | | | due to something else than /dev/urandom not existing.
* | Drop support for Windows 2000; allow any XP API (but not Vista+).Martin v. Löwis2013-01-251-30/+3
|/ | | | | Drop SDK version configuration for Tk compilation, to not bind it to W2k anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
* Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵Antoine Pitrou2012-09-071-1/+2
| | | | | | opened. This was a regression caused by the hash randomization patch.
* enable hash randomization by defaultBenjamin Peterson2012-02-211-11/+0
|
* ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
|
* Fix typo in conditional.Georg Brandl2012-02-201-1/+1
|
* Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-0/+302
bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.