COMMITS
/ Lib/random.py 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
April 20, 2021
R
Improve the error message for choices(population, 10) (GH-25267)
Raymond Hettinger committed
February 5, 2021
R
Reduce overhead on random timings (GH-24455)
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 15, 2021
S
bpo-42931: randbytes missing from random.__all__ (GH-24219)
Setrak Balian committed
January 2, 2021
R
No need to test "istep==1" twice. (GH-24064)
Raymond Hettinger committed
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 19, 2020
September 29, 2020
R
bpo-41773: Raise exception for non-finite weights in random.choices(). (GH-22441)
Ram Rachum committed
August 2, 2020
R
random module: Convert a "while 1" to "while True (GH-21700)
Raymond Hettinger committed
August 1, 2020
R
bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695)
Raymond Hettinger committed
June 26, 2020
R
Improve code organization for the random module (GH-21161)
Raymond Hettinger committed
June 23, 2020
R
Small clean-ups for the random module (GH-21038)
Raymond Hettinger committed
June 13, 2020
R
Minor code clean-ups (GH-20838)
Raymond Hettinger 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 29, 2020
V
bpo-40286: Remove C implementation of Random.randbytes() (GH-19797)
Victor Stinner committed
April 19, 2020
R
bpo-40325: Deprecate set object support in random.sample() (GH-19591)
Raymond Hettinger committed
April 17, 2020
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
November 23, 2019
R
bpo-38881: choices() raises ValueError when all weights are zero (GH-17362)
Raymond Hettinger committed
August 22, 2019
R
bpo-32554: Deprecate hashing arbitrary types in random.seed() (GH-15382)
Raymond Hettinger committed
June 1, 2019
S
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
Serhiy Storchaka committed
April 10, 2019
C
bpo-36559: random module: optimize sha512 import (GH-12742)
Christian Heimes committed
February 16, 2019
R
Convert range to repeat for choices() (#11889)
Raymond Hettinger committed
February 13, 2019
R
Be consistent about the use of from-imports in random module (GH-11837)
Raymond Hettinger committed
January 21, 2019
K
bpo-35782: Fix error message in randrange (GH-11620)
Kumar Akshay committed
December 24, 2018
L
bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934)
leodema committed
December 17, 2018
V
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
Victor Stinner committed
December 4, 2018
R
Remove unnecessary and over-restrictive type check (GH-10905)
Raymond Hettinger committed
R
Add comments regarding speed/space/entropy trade-offs (GH-10885)
Raymond Hettinger committed
November 9, 2018
R
Hoist the float conversion out of the inner loop. (GH-10430)
Raymond Hettinger committed
July 4, 2018
R
Minor code refactoring. Compute len() one fewer times on one code path. (GH-8094)
Raymond Hettinger 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
April 5, 2018
W
bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338)
Wolfgang Maier committed
September 17, 2017
R
bpo-31482: Missing bytes support for random.seed() version 1 (#3614)
Raymond Hettinger committed
September 4, 2017
R
random_triangular: sqrt() is more accurate than **0.5 (#3317)
Raymond Hettinger committed
June 4, 2017
L
fix comment (#1798)
leodema committed
May 29, 2017
G
bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)
Gregory P. Smith committed
May 27, 2017
A
bpo-16500: Allow registering at-fork handlers (#1715)
Antoine Pitrou committed
December 27, 2016
R
Issue #29055: Suppress upstream exception for random.choice()
Raymond Hettinger committed
November 21, 2016
R
Issue 28475: Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo).
Raymond Hettinger committed
November 2, 2016
R
Minor code beautification
Raymond Hettinger committed