COMMITS
/ Lib/test/test_random.py May 2, 2026
L
gh-149221:Fix binomialvariate Function for random module (gh-149222)
lighting9999 committed
August 26, 2025
R
gh-135427: Fix DeprecationWarning for os.fork when run in threads with -Werror (GH-136796)
Rani Pinchuk committed
June 18, 2025
S
gh-135376: Fix and improve test_random (GH-135377)
Serhiy Storchaka committed
June 11, 2025
S
gh-135326: Test support of __index__ in random.getrandbits() (#135356)
Serhiy Storchaka committed
May 31, 2025
S
gh-133489: Remove size restrictions on getrandbits() and randbytes() (GH-133658)
Serhiy Storchaka committed
May 22, 2025
S
gh-71339: Use new assertion methods in tests (GH-129046)
Serhiy Storchaka committed
May 5, 2025
H
gh-130645: Add color to stdlib argparse CLIs (gh-133380)
Hugo van Kemenade committed
February 21, 2025
R
gh-130285: Fix handling of zero or empty counts in random.sample() (gh-130291)
Raymond Hettinger committed
September 12, 2024
A
gh-123968: Fix lower bound for `python -m random --float` (#123971)
Anders Kaseorg committed
May 5, 2024
H
gh-118131: Command-line interface for the `random` module (#118132)
Hugo van Kemenade committed
November 23, 2023
T
Add extra tests for `random.binomialvariate` (gh-112325)
Tian Gao committed
January 8, 2023
R
GH-100805: Support numpy.array() in random.choice(). (GH-100830)
Raymond Hettinger committed
December 15, 2022
R
GH-100234: Set a default value for random.expovariate() (GH-100235)
Raymond Hettinger committed
July 13, 2022
R
GH-81620: Add random.binomialvariate() (GH-94719)
Raymond Hettinger committed
May 12, 2022
R
gh-86388 Remove deprecated behaviors in randrange() (#92677)
Raymond Hettinger committed
February 15, 2022
Z
bpo-46737: Add default arguments to random.gauss and normalvariate (GH-31360)
Zackery Spytz committed
February 3, 2022
M
bpo-46624: Defer to 3.12: "Remove deprecated support for non-integer values" (GH-31098)
Miro Hrončok committed
January 16, 2022
C
bpo-40280: Add requires_fork test helper (GH-30622)
Christian Heimes committed
December 10, 2021
R
Move error test to the function that needs it. Improve error message. (GH-30008)
Raymond Hettinger committed
October 19, 2021
S
bpo-42222: Improve tests for invalid argument types in randrange() (GH-29021)
Serhiy Storchaka committed
October 16, 2021
R
bpo-42222: Remove deprecated support for non-integer values (GH-28983)
Raymond Hettinger committed
May 31, 2021
S
bpo-44260: Do not read system entropy without need in Random() (GH-26455)
Serhiy Storchaka committed
May 4, 2021
R
bpo-40465: Remove random module features deprecated in 3.9 (GH-25874)
Raymond Hettinger committed
May 3, 2021
R
bpo-44018: random.seed() no longer mutates its inputs (GH-25856)
Raymond Hettinger committed
January 25, 2021
S
bpo-37319: Improve documentation, code and tests of randrange. (GH-19112)
Serhiy Storchaka committed
January 18, 2021
J
bpo-42944 Fix Random.sample when counts is not None (GH-24235)
jonanifranco committed
January 2, 2021
R
bpo-42772: Step argument ignored when stop is None. (GH-24018)
Raymond Hettinger committed
December 28, 2020
R
bpo-42222: Modernize integer test/conversion in randrange() (#23064)
Raymond Hettinger committed
December 21, 2020
December 19, 2020
September 29, 2020
R
bpo-41773: Raise exception for non-finite weights in random.choices(). (GH-22441)
Ram Rachum committed
June 21, 2020
D
bpo-41052: Opt out serialization/deserialization for _random.Random (GH-21002)
Dong-hee Na committed
May 8, 2020
R
bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970)
Raymond Hettinger committed
May 2, 2020
R
bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867)
Raymond Hettinger committed
May 1, 2020
R
Simplify choice()'s interaction with the private _randbelow() method (GH-19831)
Raymond Hettinger committed
April 19, 2020
R
bpo-40325: Deprecate set object support in random.sample() (GH-19591)
Raymond Hettinger committed
April 17, 2020
S
bpo-40286: Makes simpler the relation between randbytes() and getrandbits() (GH-19574)
Serhiy Storchaka committed
A
bpo-40282: Allow random.getrandbits(0) (GH-19539)
Antoine Pitrou committed
V
bpo-40286: Add randbytes() method to random.Random (GH-19527)
Victor Stinner committed
March 31, 2020
V
bpo-40094: Add test.support.wait_process() (GH-19254)
Victor Stinner committed
March 10, 2020
V
bpo-38075: Fix random_seed(): use PyObject_CallOneArg() (GH-18897)
Victor Stinner committed
November 23, 2019
R
bpo-38881: choices() raises ValueError when all weights are zero (GH-17362)
Raymond Hettinger committed
September 12, 2019
July 21, 2019
M
Fix typos in docs, comments and test assert messages (#14872)
Min ho Kim committed
May 6, 2019
P
bpo-36766: Typos in docs and code comments (GH-13116)
penguindustin committed
March 5, 2019
S
bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929)
Serhiy Storchaka committed
December 24, 2018
L
bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934)
leodema committed
June 27, 2018
R
bpo-24567: Random subnormal.diff (#7954)
Raymond Hettinger committed
May 8, 2018
S
bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563)
Serhiy Storchaka committed
April 17, 2018
W
bpo-33144: random.Random and subclasses: split _randbelow implementation (GH-6291)
Wolfgang Maier committed