summaryrefslogtreecommitdiff
path: root/Lib/random.py
AgeCommit message (Expand)AuthorLines
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
2012-06-02Issue #14926: fix docstring highlightSandro Tosi-1/+1
2011-11-11Merge 3.2Brian Curtin-1/+0
2011-11-11Fix #13384. Remove __future__ import in 3.x code.Brian Curtin-1/+0
2011-06-25Code simplification suggested by Sven Marnach.Raymond Hettinger-5/+3
2011-06-25Code simplification suggested by Sven Marnach.Raymond Hettinger-5/+3
2011-05-05Sync-up minor code edits with the default branch.Raymond Hettinger-4/+4
2011-05-05Avoid codec spelling issues by just using the utf-8 default.Raymond Hettinger-1/+1
2011-05-05Avoid codec spelling issues by just using the utf-8 default.Raymond Hettinger-1/+1