GitWeb
Get Gentoo!
gentoo.org sites
gentoo.org
Wiki
Bugs
Forums
Packages
Planet
Archives
Sources
Infra Status
Home
Gentoo Repository
Repositories
Projects
Developer Overlays
User Overlays
Data
Websites
index
:
fork/cpython.git
3.6
3.7
3.8
3.9
backport-e35ca41-3.11
gentoo
gentoo-2.7-vanilla
main
master
Gentoo fork of Python
Python project <python@gentoo.org>
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Lib
/
random.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
Reduce overhead on random timings (GH-24455)
Raymond Hettinger
2021-02-04
1
-1
/
+1
*
bpo-37319: Improve documentation, code and tests of randrange. (GH-19112)
Serhiy Storchaka
2021-01-25
1
-24
/
+20
*
bpo-42944 Fix Random.sample when counts is not None (GH-24235)
jonanifranco
2021-01-18
1
-1
/
+1
*
bpo-42931: randbytes missing from random.__all__ (GH-24219)
Setrak Balian
2021-01-15
1
-0
/
+1
*
No need to test "istep==1" twice. (GH-24064)
Raymond Hettinger
2021-01-02
1
-4
/
+2
*
bpo-42772: Step argument ignored when stop is None. (GH-24018)
Raymond Hettinger
2021-01-02
1
-1
/
+7
*
bpo-42222: Modernize integer test/conversion in randrange() (#23064)
Raymond Hettinger
2020-12-28
1
-11
/
+43
*
bpo-42470: Do not warn on sequences which are also sets in random.sample() (G...
masklinn
2020-12-18
1
-6
/
+7
*
bpo-41773: Raise exception for non-finite weights in random.choices(). (GH-2...
Ram Rachum
2020-09-28
1
-1
/
+3
*
random module: Convert a "while 1" to "while True (GH-21700)
Raymond Hettinger
2020-08-02
1
-1
/
+1
*
bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695)
Raymond Hettinger
2020-08-01
1
-1
/
+1
*
Improve code organization for the random module (GH-21161)
Raymond Hettinger
2020-06-25
1
-177
/
+176
*
Small clean-ups for the random module (GH-21038)
Raymond Hettinger
2020-06-22
1
-30
/
+27
*
Minor code clean-ups (GH-20838)
Raymond Hettinger
2020-06-13
1
-89
/
+110
*
bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970)
Raymond Hettinger
2020-05-08
1
-5
/
+29
*
bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867)
Raymond Hettinger
2020-05-02
1
-0
/
+4
*
Simplify choice()'s interaction with the private _randbelow() method (GH-19831)
Raymond Hettinger
2020-05-01
1
-9
/
+5
*
bpo-40286: Remove C implementation of Random.randbytes() (GH-19797)
Victor Stinner
2020-04-29
1
-0
/
+6
*
bpo-40325: Deprecate set object support in random.sample() (GH-19591)
Raymond Hettinger
2020-04-19
1
-1
/
+4
*
bpo-40282: Allow random.getrandbits(0) (GH-19539)
Antoine Pitrou
2020-04-17
1
-2
/
+4
*
bpo-40286: Add randbytes() method to random.Random (GH-19527)
Victor Stinner
2020-04-17
1
-0
/
+7
*
bpo-38881: choices() raises ValueError when all weights are zero (GH-17362)
Raymond Hettinger
2019-11-23
1
-1
/
+3
*
bpo-32554: Deprecate hashing arbitrary types in random.seed() (GH-15382)
Raymond Hettinger
2019-08-22
1
-2
/
+13
*
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
Serhiy Storchaka
2019-06-01
1
-1
/
+1
*
bpo-36559: random module: optimize sha512 import (GH-12742)
Christian Heimes
2019-04-10
1
-1
/
+8
*
Convert range to repeat for choices() (#11889)
Raymond Hettinger
2019-02-16
1
-3
/
+3
*
Be consistent about the use of from-imports in random module (GH-11837)
Raymond Hettinger
2019-02-13
1
-4
/
+4
*
bpo-35782: Fix error message in randrange (GH-11620)
Kumar Akshay
2019-01-21
1
-1
/
+1
*
bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934)
leodema
2018-12-23
1
-4
/
+1
*
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
Victor Stinner
2018-12-17
1
-2
/
+2
*
Remove unnecessary and over-restrictive type check (GH-10905)
Raymond Hettinger
2018-12-04
1
-2
/
+0
*
Add comments regarding speed/space/entropy trade-offs (GH-10885)
Raymond Hettinger
2018-12-04
1
-0
/
+13
*
Hoist the float conversion out of the inner loop. (GH-10430)
Raymond Hettinger
2018-11-09
1
-1
/
+2
*
Minor code refactoring. Compute len() one fewer times on one code path. (GH-...
Raymond Hettinger
2018-07-04
1
-4
/
+4
*
bpo-24567: Random subnormal.diff (#7954)
Raymond Hettinger
2018-06-27
1
-1
/
+3
*
bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563)
Serhiy Storchaka
2018-05-08
1
-12
/
+10
*
bpo-33144: random.Random and subclasses: split _randbelow implementation (GH-...
Wolfgang Maier
2018-04-17
1
-14
/
+38
*
bpo-33203: Ensure random.choice always raises IndexError on empty sequence (G...
Wolfgang Maier
2018-04-05
1
-0
/
+2
*
bpo-31482: Missing bytes support for random.seed() version 1 (#3614)
Raymond Hettinger
2017-09-17
1
-2
/
+3
*
random_triangular: sqrt() is more accurate than **0.5 (#3317)
Raymond Hettinger
2017-09-04
1
-1
/
+1
*
fix comment (#1798)
leodema
2017-06-04
1
-1
/
+1
*
bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834)
Gregory P. Smith
2017-05-29
1
-1
/
+1
*
bpo-16500: Allow registering at-fork handlers (#1715)
Antoine Pitrou
2017-05-27
1
-0
/
+5
*
Issue #29055: Suppress upstream exception for random.choice()
Raymond Hettinger
2016-12-27
1
-1
/
+1
*
Issue 28475: Improve error message for random.sample() with k < 0. (Contribu...
Raymond Hettinger
2016-11-21
1
-1
/
+1
*
Fix typos
Raymond Hettinger
2016-11-13
1
-1
/
+1
*
Minor code beautification
Raymond Hettinger
2016-11-01
1
-2
/
+1
*
Issue #18844: Make the various ways for specifing weights produce the same re...
Raymond Hettinger
2016-10-29
1
-3
/
+4
*
Issue #18844: Make the number of selections a keyword-only argument for rando...
Raymond Hettinger
2016-09-26
1
-1
/
+1
*
Rename weighted_choices() to just choices()
Raymond Hettinger
2016-09-07
1
-3
/
+3
[next]