1. b0dfc75 bpo-41773: Raise exception for non-finite weights in random.choices(). (GH-22441) by Ram Rachum · 4 years ago
  2. 6a613f9 random module: Convert a "while 1" to "while True (GH-21700) by Raymond Hettinger · 4 years, 2 months ago
  3. 5c32709 bpo-41421: Algebraic simplification for random.paretovariate() (GH-21695) by Raymond Hettinger · 4 years, 2 months ago
  4. ef19bad Improve code organization for the random module (GH-21161) by Raymond Hettinger · 4 years, 3 months ago
  5. 26a1ad1 Small clean-ups for the random module (GH-21038) by Raymond Hettinger · 4 years, 3 months ago
  6. 9db5b8d Minor code clean-ups (GH-20838) by Raymond Hettinger · 4 years, 3 months ago
  7. 81a5fc3 bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970) by Raymond Hettinger · 4 years, 4 months ago
  8. 190fac9 bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867) by Raymond Hettinger · 4 years, 5 months ago
  9. 4168f1e Simplify choice()'s interaction with the private _randbelow() method (GH-19831) by Raymond Hettinger · 4 years, 5 months ago
  10. 2d87577 bpo-40286: Remove C implementation of Random.randbytes() (GH-19797) by Victor Stinner · 4 years, 5 months ago
  11. 4fe0020 bpo-40325: Deprecate set object support in random.sample() (GH-19591) by Raymond Hettinger · 4 years, 5 months ago
  12. 75a3378 bpo-40282: Allow random.getrandbits(0) (GH-19539) by Antoine Pitrou · 4 years, 5 months ago
  13. 9f5fe79 bpo-40286: Add randbytes() method to random.Random (GH-19527) by Victor Stinner · 4 years, 5 months ago
  14. 041d8b4 bpo-38881: choices() raises ValueError when all weights are zero (GH-17362) by Raymond Hettinger · 4 years, 10 months ago
  15. d0cdeaa bpo-32554: Deprecate hashing arbitrary types in random.seed() (GH-15382) by Raymond Hettinger · 5 years ago
  16. 2085bd0 bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) by Serhiy Storchaka · 5 years ago
  17. d914596 bpo-36559: random module: optimize sha512 import (GH-12742) by Christian Heimes · 5 years ago
  18. 5382203 Convert range to repeat for choices() (#11889) by Raymond Hettinger · 6 years ago
  19. cfd31f0 Be consistent about the use of from-imports in random module (GH-11837) by Raymond Hettinger · 6 years ago
  20. 2433a2a bpo-35782: Fix error message in randrange (GH-11620) by Kumar Akshay · 6 years ago
  21. 63d1522 bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934) by leodema · 6 years ago
  22. 8db5b54 bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) by Victor Stinner · 6 years ago
  23. 09473ac Remove unnecessary and over-restrictive type check (GH-10905) by Raymond Hettinger · 6 years ago
  24. 7fc633f Add comments regarding speed/space/entropy trade-offs (GH-10885) by Raymond Hettinger · 6 years ago
  25. 0a18e05 Hoist the float conversion out of the inner loop. (GH-10430) by Raymond Hettinger · 6 years ago
  26. e69cd16 Minor code refactoring. Compute len() one fewer times on one code path. (GH-8094) by Raymond Hettinger · 6 years ago
  27. ddf7171 bpo-24567: Random subnormal.diff (#7954) by Raymond Hettinger · 6 years ago
  28. ec1622d bpo-33144: Fix choosing random.Random._randbelow implementation. (GH-6563) by Serhiy Storchaka · 6 years ago
  29. ba3a87a bpo-33144: random.Random and subclasses: split _randbelow implementation (GH-6291) by Wolfgang Maier · 6 years ago
  30. 091e95e bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338) by Wolfgang Maier · 6 years ago
  31. 132a7d7 bpo-31482: Missing bytes support for random.seed() version 1 (#3614) by Raymond Hettinger · 7 years ago
  32. f5ea83f random_triangular: sqrt() is more accurate than **0.5 (#3317) by Raymond Hettinger · 7 years ago
  33. 9f396b6 fix comment (#1798) by leodema · 7 years ago
  34. 163468a bpo-16500: Don't use string constants for os.register_at_fork() behavior (#1834) by Gregory P. Smith · 7 years ago
  35. 346cbd3 bpo-16500: Allow registering at-fork handlers (#1715) by Antoine Pitrou · 7 years ago
  36. bb2839b Issue #29055: Suppress upstream exception for random.choice() by Raymond Hettinger · 8 years ago
  37. bf87126 Issue 28475: Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo). by Raymond Hettinger · 8 years ago
  38. 24e4239 Fix typos by Raymond Hettinger · 8 years ago
  39. 8567e58 Minor code beautification by Raymond Hettinger · 8 years ago
  40. 30d00e5 Issue #18844: Make the various ways for specifing weights produce the same results. by Raymond Hettinger · 8 years ago
  41. 9016f28 Issue #18844: Make the number of selections a keyword-only argument for random.choices(). by Raymond Hettinger · 8 years ago
  42. 28aa4a0 Rename weighted_choices() to just choices() by Raymond Hettinger · 8 years ago
  43. e8f1e00 Issue #18844: Add random.weighted_choices() by Raymond Hettinger · 8 years ago
  44. e66987e os.urandom() now blocks on Linux by Victor Stinner · 8 years ago
  45. 6579502 Merge by Raymond Hettinger · 8 years ago
  46. 16eb827 Improve docs for random.seed() by Raymond Hettinger · 8 years ago
  47. 2f9cc7a Minor beautification (turn nested-if into a conjunction). by Raymond Hettinger · 8 years ago
  48. 112835c Merge by Raymond Hettinger · 8 years ago
  49. c7bab7c Issue #27706: Fix regression in random.seed(somestr, version=1) by Raymond Hettinger · 8 years ago
  50. 650c1c9 Minor beautification by Raymond Hettinger · 8 years ago
  51. e26da7c Issue #27171: Fix typos in documentation, comments, and test function names by Martin Panter · 8 years ago
  52. d58a0b6 merge by Raymond Hettinger · 10 years ago
  53. 978c6ab Issue 13355: Make random.triangular degrade gracefully when low == high. by Raymond Hettinger · 10 years ago
  54. 1f54814 Improve readability by Raymond Hettinger · 10 years ago
  55. 23042cd Issue #21470: Do a better job seeding the random number generator by Raymond Hettinger · 10 years ago
  56. f1dc3ee Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start by Christian Heimes · 11 years ago
  57. be74a3d Minor clean-up of function parameters in random(). by Raymond Hettinger · 11 years ago
  58. 8fe47c3 Minor clean-up of function parameters in random(). by Raymond Hettinger · 11 years ago
  59. f77cdbe Issue #19169: Micro refactoring with a micro benefit for brevity and speed. by Raymond Hettinger · 11 years ago
  60. f5ce012 Removing the merge conflict markers. by Senthil Kumaran · 11 years ago
  61. b4055f2 merge from 3.3 by Senthil Kumaran · 11 years ago
  62. f8ce51a Improve the docstring of random.shuffle. Inform users not to provide int arg. by Senthil Kumaran · 11 years ago
  63. 46e1ce2 Issue #18783: Removed existing mentions of Python long type in docstrings, by Serhiy Storchaka · 11 years ago
  64. 9594942 Issue #18783: Removed existing mentions of Python long type in docstrings, by Serhiy Storchaka · 11 years ago
  65. 44e33f3 Revert changes for #13355 by request from Raymond Hettinger by Andrew Svetlov · 11 years ago
  66. b4fd468 Revert changes for #13355 by request from Raymond Hettinger by Andrew Svetlov · 11 years ago
  67. 7300011 Issue #13355: Raise ValueError on random.triangular call with invalid params. by Andrew Svetlov · 11 years ago
  68. a2dfc35 Issue #13355: Raise ValueError on random.triangular call with invalid params. by Andrew Svetlov · 11 years ago
  69. d9ebf4d #17489: Add explanatory comment that __getstate__ is not called. by R David Murray · 11 years ago
  70. 06e5e73 Issue #17141: random.vonmisesvariate() no more hangs for large kappas. by Serhiy Storchaka · 12 years ago
  71. ac99576 Issue #17141: random.vonmisesvariate() no more hangs for large kappas. by Serhiy Storchaka · 12 years ago
  72. 6c22b1d Issue #17141: random.vonmisesvariate() no more hangs for large kappas. by Serhiy Storchaka · 12 years ago
  73. 1b901ba Issue #17149: merge fix from 3.3. by Mark Dickinson · 12 years ago
  74. 6427358 Issue #17149: merge fix from 3.2. by Mark Dickinson · 12 years ago
  75. be5f919 Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi]. by Mark Dickinson · 12 years ago
  76. 5e39433 Issue #15837: add some tests for random.shuffle(). Patch by Alessandro Moura. by Antoine Pitrou · 12 years ago
  77. e1b22ed Issue #14926: merge with 3.2 by Sandro Tosi · 12 years ago
  78. 29d09aa Issue #14926: fix docstring highlight by Sandro Tosi · 12 years ago
  79. 4ff29db Merge 3.2 by Brian Curtin · 13 years ago
  80. 675f6b8 Fix #13384. Remove __future__ import in 3.x code. by Brian Curtin · 13 years ago
  81. 12fb2f4 Code simplification suggested by Sven Marnach. by Raymond Hettinger · 13 years ago
  82. 5279fb9 Code simplification suggested by Sven Marnach. by Raymond Hettinger · 13 years ago
  83. 102d874 Sync-up minor code edits with the default branch. by Raymond Hettinger · 13 years ago
  84. 7c5dc91 Avoid codec spelling issues by just using the utf-8 default. by Raymond Hettinger · 13 years ago
  85. f90ba8a Avoid codec spelling issues by just using the utf-8 default. by Raymond Hettinger · 13 years ago
  86. 0dea648 #11848: Merge with 3.2. by Ezio Melotti · 13 years ago
  87. 82b0d5d #11848: Merge with 3.1. by Ezio Melotti · 13 years ago
  88. 20f53f1 #11848: replace dead link in random.betavariate comment. by Ezio Melotti · 13 years ago
  89. 09cbadd Issue 10787: Document the probability density function for random.gammavariate. by Raymond Hettinger · 14 years ago
  90. 27f8709 Issue 10787: Document the probability density function for random.gammavariate. by Raymond Hettinger · 14 years ago
  91. a8e4d6e Issue 10787: Document the probability density function for random.gammavariate. by Raymond Hettinger · 14 years ago
  92. 8f36af7 Normalize the encoding names for Latin-1 and UTF-8 to 'latin-1' and 'utf-8'. by Marc-André Lemburg · 14 years ago
  93. 57d1a88 Fix imports from collections.abc by Raymond Hettinger · 14 years ago
  94. 3fcf002 Update whatsnew. Salt the random number seed. by Raymond Hettinger · 14 years ago
  95. 63b1767 Improve variable name (don't shadow a builtin). by Raymond Hettinger · 14 years ago
  96. 8ff1099 One more conversion from pow() to **. by Raymond Hettinger · 14 years ago
  97. 183cd1f * Remove dependency on binascii.hexlify by using int.from_bytes(). by Raymond Hettinger · 14 years ago
  98. e4a3e99 In the case where only a user supplied random() method is available, by Raymond Hettinger · 14 years ago
  99. f015b3f Neaten-up comments and warning message. by Raymond Hettinger · 14 years ago
  100. 05a505f Minor refactoring and cleanup. Extend looping randrange() technique to subclasses. by Raymond Hettinger · 14 years ago