summaryrefslogtreecommitdiff
path: root/Lib/random.py
AgeCommit message (Expand)AuthorLines
2018-12-17bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)Miss Islington (bot)-2/+2
2018-06-27bpo-24567: Random subnormal.diff (GH-7954) (GH-7955)Miss Islington (bot)-1/+3
2018-04-05bpo-33203: Ensure random.choice always raises IndexError on empty sequence (G...Miss Islington (bot)-0/+2
2017-09-17bpo-31482: Missing bytes support for random.seed() version 1 (#3614)Raymond Hettinger-2/+3
2017-09-04random_triangular: sqrt() is more accurate than **0.5 (#3317)Raymond Hettinger-1/+1
2017-06-04fix comment (#1798)leodema-1/+1
2017-05-29bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)Gregory P. Smith-1/+1
2017-05-27bpo-16500: Allow registering at-fork handlers (#1715)Antoine Pitrou-0/+5
2016-12-27Issue #29055: Suppress upstream exception for random.choice()Raymond Hettinger-1/+1
2016-11-21Issue 28475: Improve error message for random.sample() with k < 0. (Contribu...Raymond Hettinger-1/+1
2016-11-13Fix typosRaymond Hettinger-1/+1
2016-11-01Minor code beautificationRaymond Hettinger-2/+1
2016-10-29Issue #18844: Make the various ways for specifing weights produce the same re...Raymond Hettinger-3/+4
2016-09-26Issue #18844: Make the number of selections a keyword-only argument for rando...Raymond Hettinger-1/+1
2016-09-07Rename weighted_choices() to just choices()Raymond Hettinger-3/+3
2016-09-06Issue #18844: Add random.weighted_choices()Raymond Hettinger-1/+27
2016-09-06os.urandom() now blocks on LinuxVictor Stinner-9/+0
2016-09-04MergeRaymond Hettinger-3/+5
2016-09-04Improve docs for random.seed()Raymond Hettinger-3/+5
2016-08-31Minor beautification (turn nested-if into a conjunction).Raymond Hettinger-6/+5
2016-08-31MergeRaymond Hettinger-0/+7
2016-08-31Issue #27706: Fix regression in random.seed(somestr, version=1)Raymond Hettinger-0/+7
2016-06-25Minor beautificationRaymond Hettinger-2/+2
2016-06-02Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter-1/+1
2014-05-25mergeRaymond Hettinger-1/+4
2014-05-25Issue 13355: Make random.triangular degrade gracefully when low == high.Raymond Hettinger-1/+4
2014-05-19Improve readabilityRaymond Hettinger-1/+1
2014-05-13Issue #21470: Do a better job seeding the random number generatorRaymond Hettinger-1/+3
2013-10-13Issue #19218: Rename collections.abc to _collections_abc in order to speed up...Christian Heimes-1/+1
2013-10-05Minor clean-up of function parameters in random().Raymond Hettinger-12/+17
2013-10-05Minor clean-up of function parameters in random().Raymond Hettinger-11/+17
2013-10-05Issue #19169: Micro refactoring with a micro benefit for brevity and speed.Raymond Hettinger-2/+2
2013-09-12Removing the merge conflict markers.Senthil Kumaran-5/+0
2013-09-11merge from 3.3Senthil Kumaran-0/+7
2013-09-11Improve the docstring of random.shuffle. Inform users not to provide int arg.Senthil Kumaran-0/+2
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-1/+1
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-1/+1
2013-04-13Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov-10/+0
2013-04-13Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov-10/+0
2013-04-12Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov-0/+10
2013-04-12Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov-0/+10
2013-04-02#17489: Add explanatory comment that __getstate__ is not called.R David Murray-0/+3
2013-02-10Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka-8/+6
2013-02-10Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka-8/+6
2013-02-10Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka-8/+6
2013-02-10Issue #17149: merge fix from 3.3.Mark Dickinson-2/+2
2013-02-10Issue #17149: merge fix from 3.2.Mark Dickinson-2/+2
2013-02-10Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*ma...Mark Dickinson-2/+2
2012-11-04Issue #15837: add some tests for random.shuffle().Antoine Pitrou-3/+4
2012-06-02Issue #14926: merge with 3.2Sandro Tosi-1/+1