summaryrefslogtreecommitdiff
path: root/Python/random.c
AgeCommit message (Collapse)AuthorLines
2013-10-06Closes #15213: update comment for _PyOS_URandomGeorg Brandl-2/+3
2013-08-16Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou-2/+6
due to something else than /dev/urandom not existing.
2012-09-07Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵Antoine Pitrou-1/+2
opened. This was a regression caused by the hash randomization patch.
2012-02-21enable hash randomization by defaultBenjamin Peterson-11/+0
2012-02-21ensure no one tries to hash things before the random seed is foundBenjamin Peterson-4/+8
2012-02-20Fix typo in conditional.Georg Brandl-1/+1
2012-02-20Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl-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.