summaryrefslogtreecommitdiff
path: root/Python/random.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
|
* - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEEDBarry Warsaw2012-02-201-0/+302
environment variable, to provide an opt-in way to protect against denial of service attacks due to hash collisions within the dict and set types. Patch by David Malcolm, based on work by Victor Stinner.