summaryrefslogtreecommitdiff
path: root/Lib/test/test_random.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-44018: random.seed() no longer mutates its inputs (GH-25856) (GH-25864)Miss Islington (bot)2021-05-031-0/+5
* bpo-42944 Fix Random.sample when counts is not None (GH-24235) (GH-24243)Miss Islington (bot)2021-01-181-27/+27
* [3.9] bpo-41052: Opt out serialization/deserialization for _random.Random (GH...Dong-hee Na2020-06-211-0/+10
* bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970)Raymond Hettinger2020-05-081-1/+72
* bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867)Raymond Hettinger2020-05-021-1/+2
* Simplify choice()'s interaction with the private _randbelow() method (GH-19831)Raymond Hettinger2020-05-011-3/+3
* bpo-40325: Deprecate set object support in random.sample() (GH-19591)Raymond Hettinger2020-04-191-1/+5
* bpo-40286: Makes simpler the relation between randbytes() and getrandbits() (...Serhiy Storchaka2020-04-171-4/+20
* bpo-40282: Allow random.getrandbits(0) (GH-19539)Antoine Pitrou2020-04-171-40/+29
* bpo-40286: Add randbytes() method to random.Random (GH-19527)Victor Stinner2020-04-171-0/+51
* bpo-40094: Add test.support.wait_process() (GH-19254)Victor Stinner2020-03-311-2/+1
* bpo-38075: Fix random_seed(): use PyObject_CallOneArg() (GH-18897)Victor Stinner2020-03-101-1/+1
* bpo-38881: choices() raises ValueError when all weights are zero (GH-17362)Raymond Hettinger2019-11-231-0/+5
* bpo-38120: Fix DeprecationWarning in test_random for invalid type of argument...Xtreak2019-09-121-3/+9
* Fix typos in docs, comments and test assert messages (#14872)Min ho Kim2019-07-211-1/+1
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-061-1/+1
* bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929)Serhiy Storchaka2019-03-051-3/+2
* bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934)leodema2018-12-231-11/+31
* bpo-24567: Random subnormal.diff (#7954)Raymond Hettinger2018-06-271-0/+8
* bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563)Serhiy Storchaka2018-05-081-14/+64
* bpo-33144: random.Random and subclasses: split _randbelow implementation (GH-...Wolfgang Maier2018-04-171-15/+65
* bpo-33203: Ensure random.choice always raises IndexError on empty sequence (G...Wolfgang Maier2018-04-051-1/+4
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
* bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad...Oren Milman2017-09-281-0/+11
* bpo-31482: Missing bytes support for random.seed() version 1 (#3614)Raymond Hettinger2017-09-171-0/+27
* bpo-31160: Fix test_random for zombie process (#3045)Victor Stinner2017-08-091-1/+7
* bpo-16500: Allow registering at-fork handlers (#1715)Antoine Pitrou2017-05-271-0/+19
* bpo-30308: Code coverage for argument in random.shuffle (#1504)csabella2017-05-111-1/+11
* bpo-29960 _random.Random corrupted on exception in setstate(). (#1019)bladebryan2017-04-221-0/+5
* mergeRaymond Hettinger2016-11-211-1/+1
|\
| * Issue #28743: Reduce memory consumption for random module testsRaymond Hettinger2016-11-211-1/+1
* | mergeRaymond Hettinger2016-11-211-0/+1
|\ \ | |/
| * Issue 28475: Improve error message for random.sample() with k < 0. (Contribu...Raymond Hettinger2016-11-211-0/+1
* | mergeRaymond Hettinger2016-11-131-1/+1
|\ \ | |/
| * Fix typosRaymond Hettinger2016-11-131-1/+1
* | mergeRaymond Hettinger2016-10-291-0/+17
|\ \ | |/
| * Issue #18844: Strengthen tests to include a case with unequal weightingRaymond Hettinger2016-10-291-0/+17
* | mergeRaymond Hettinger2016-10-291-0/+16
|\ \ | |/
| * Issue #18844: Make the various ways for specifing weights produce the same re...Raymond Hettinger2016-10-291-0/+16
* | Close #28476: Reuse math.factorial() in test_randomVictor Stinner2016-10-191-5/+1
|/
* Issue #18844: Add more testsRaymond Hettinger2016-10-141-0/+14
* Issue #18844: Fix-up examples for random.choices(). Remove over-specified t...Raymond Hettinger2016-10-121-4/+0
* Issue #18844: Make the number of selections a keyword-only argument for rando...Raymond Hettinger2016-09-261-21/+21
* Rename weighted_choices() to just choices()Raymond Hettinger2016-09-071-27/+27
* Issue #18844: Add random.weighted_choices()Raymond Hettinger2016-09-061-0/+68
* Issue #27706: Fix regression in random.seed(somestr, version=1)Raymond Hettinger2016-08-311-0/+18
* Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
* Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+5
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-6/+8
* Issue 13355: Make random.triangular degrade gracefully when low == high.Raymond Hettinger2014-05-251-1/+1