Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-104337: Clarify random.gammavariate doc entry (#104410) | Terry Jan Reedy | 2023-05-14 | 1 | -3/+6 |
| | | | | | * gh-104337: Clarify random.gammavariate doc entry * Fix parameter markup. | ||||
* | Move binomialvariate() to a section for discrete distributions (GH-102955) | Raymond Hettinger | 2023-03-23 | 1 | -3/+3 |
| | |||||
* | GH-102653: Make recipe docstring show the correct distribution (#102742) | Raymond Hettinger | 2023-03-16 | 1 | -1/+2 |
| | |||||
* | GH-101097: Switch from standard interval notation to greater or less than ↵ | Andrew Hong | 2023-01-22 | 1 | -3/+3 |
| | | | | signs for random.random()'s documentation (#101119) | ||||
* | GH-100234: Set a default value for random.expovariate() (GH-100235) | Raymond Hettinger | 2022-12-15 | 1 | -1/+4 |
| | |||||
* | Move random selection recipes from itertools.rst to random.rst (GH-98369) | Raymond Hettinger | 2022-10-17 | 1 | -0/+31 |
| | |||||
* | gh-96959: Update more HTTP links (GH-97536) | Serhiy Storchaka | 2022-09-27 | 1 | -2/+2 |
| | | | | Use HTTPS for documents which are available by both HTTP and HTTPS links, but there is no redirection from HTTP to HTTPS or vice versa. | ||||
* | gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) | Serhiy Storchaka | 2022-09-24 | 1 | -2/+2 |
| | |||||
* | fix various typos in random module's documentation (GH-96912) | partev | 2022-09-18 | 1 | -4/+4 |
| | |||||
* | gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642) | Serhiy Storchaka | 2022-08-04 | 1 | -1/+1 |
| | | | | It updates links which redirect to HTTPS with different authority or path. | ||||
* | gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS ↵ | Serhiy Storchaka | 2022-08-04 | 1 | -1/+1 |
| | | | | | | | | | | (GH-95527) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples. | ||||
* | GH-81620: Add random.binomialvariate() (GH-94719) | Raymond Hettinger | 2022-07-13 | 1 | -6/+25 |
| | |||||
* | gh-86388 Remove deprecated behaviors in randrange() (#92677) | Raymond Hettinger | 2022-05-12 | 1 | -14/+13 |
| | |||||
* | bpo-40465: Document random module changes in 3.11 What's new (#31818) | Tomáš Hrnčiar | 2022-03-24 | 1 | -1/+1 |
| | |||||
* | bpo-46737: Add default arguments to random.gauss and normalvariate (GH-31360) | Zackery Spytz | 2022-02-15 | 1 | -2/+8 |
| | |||||
* | bpo-46624: Defer to 3.12: "Remove deprecated support for non-integer values" ↵ | Miro Hrončok | 2022-02-03 | 1 | -4/+9 |
| | | | | (GH-31098) | ||||
* | Improve multiserver queue recipe (GH-29012) | Raymond Hettinger | 2021-10-17 | 1 | -5/+6 |
| | |||||
* | bpo-42222: Remove deprecated support for non-integer values (GH-28983) | Raymond Hettinger | 2021-10-16 | 1 | -9/+4 |
| | |||||
* | bpo-40465: Remove random module features deprecated in 3.9 (GH-25874) | Raymond Hettinger | 2021-05-04 | 1 | -13/+9 |
| | |||||
* | Doc: Fix random.uniform example comment. (GH-25784) | Julien Palard | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | Document that random.gauss is normal distribution (GH-24935) | Joonas Paalasmaa | 2021-04-20 | 1 | -3/+3 |
| | |||||
* | bpo-37319: Improve documentation, code and tests of randrange. (GH-19112) | Serhiy Storchaka | 2021-01-25 | 1 | -2/+3 |
| | |||||
* | bpo-42222: Modernize integer test/conversion in randrange() (#23064) | Raymond Hettinger | 2020-12-28 | 1 | -0/+9 |
| | |||||
* | bpo-42559: Not that getrandbits() is non-negative. (GH-23843) | Raymond Hettinger | 2020-12-19 | 1 | -4/+5 |
| | |||||
* | bpo-39108: Document threading issues for random.gauss() (GH-22928) | Raymond Hettinger | 2020-10-25 | 1 | -0/+7 |
| | |||||
* | Minor clarification (GH-22708) | Raymond Hettinger | 2020-10-15 | 1 | -3/+3 |
| | |||||
* | Improve recipe readability (GH-22685) | Raymond Hettinger | 2020-10-13 | 1 | -31/+37 |
| | |||||
* | Add recipe for a version of random() with a larger population (GH-22664) | Raymond Hettinger | 2020-10-13 | 1 | -2/+53 |
| | |||||
* | bpo-41773: Raise exception for non-finite weights in random.choices(). ↵ | Ram Rachum | 2020-09-29 | 1 | -2/+2 |
| | | | | (GH-22441) | ||||
* | Revert "Fix all Python Cookbook links (#22205)" (GH-22424) | Andre Delfino | 2020-09-27 | 1 | -1/+1 |
| | | | This commit reverts commit ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b as the original links are working again and they provide extended features such as comments and alternative versions. | ||||
* | Fix all Python Cookbook links (#22205) | Andre Delfino | 2020-09-15 | 1 | -1/+1 |
| | |||||
* | Improve output summary in the examples and recipes section (GH-20285) | Raymond Hettinger | 2020-05-21 | 1 | -3/+3 |
| | |||||
* | bpo-40541: Add optional *counts* parameter to random.sample() (GH-19970) | Raymond Hettinger | 2020-05-08 | 1 | -7/+14 |
| | |||||
* | bpo-40286: Put methods in correct sections. Add security notice to use ↵ | Raymond Hettinger | 2020-05-05 | 1 | -10/+15 |
| | | | | secrets for session tokens. (GH-19870) | ||||
* | Fix missing space in docs(GH-19866) | Mathieu Dupuy | 2020-05-02 | 1 | -1/+1 |
| | |||||
* | bpo-40465: Deprecate the optional argument to random.shuffle(). (#19867) | Raymond Hettinger | 2020-05-02 | 1 | -0/+3 |
| | |||||
* | Small improvements to the recipes and examples. (GH-19635) | Raymond Hettinger | 2020-04-21 | 1 | -30/+26 |
| | | | | | * Add underscores to long numbers to improve readability * Use bigger dataset in the bootstrapping example * Convert single-server queue example to more useful multi-server queue | ||||
* | bpo-40325: Deprecate set object support in random.sample() (GH-19591) | Raymond Hettinger | 2020-04-19 | 1 | -0/+7 |
| | |||||
* | bpo-40282: Allow random.getrandbits(0) (GH-19539) | Antoine Pitrou | 2020-04-17 | 1 | -0/+3 |
| | |||||
* | bpo-40286: Add randbytes() method to random.Random (GH-19527) | Victor Stinner | 2020-04-17 | 1 | -0/+7 |
| | | | | | | | | | | | | Add random.randbytes() function and random.Random.randbytes() method to generate random bytes. Modify secrets.token_bytes() to use SystemRandom.randbytes() rather than calling directly os.urandom(). Rename also genrand_int32() to genrand_uint32(), since it returns an unsigned 32-bit integer, not a signed integer. The _random module is now built with Py_BUILD_CORE_MODULE defined. | ||||
* | Doc: Fix s/pseudo random/pseudo-random/ (GH-18289) | Julien Palard | 2020-01-31 | 1 | -2/+2 |
| | |||||
* | bpo-38881: choices() raises ValueError when all weights are zero (GH-17362) | Raymond Hettinger | 2019-11-23 | 1 | -2/+6 |
| | |||||
* | bpo-32554: Deprecate hashing arbitrary types in random.seed() (GH-15382) | Raymond Hettinger | 2019-08-22 | 1 | -0/+10 |
| | |||||
* | bpo-37624: Document weight assumptions for random.choices() (GH-14855) | Raymond Hettinger | 2019-07-19 | 1 | -1/+2 |
| | |||||
* | bpo-33783: Use proper class markup for random.Random docs (GHè7817) | Matthias Bussonnier | 2019-04-16 | 1 | -0/+5 |
| | | | | Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com> | ||||
* | bpo-35904: Add statistics.fmean() (GH-11892) | Raymond Hettinger | 2019-02-21 | 1 | -2/+2 |
| | |||||
* | Improve readability of random module examples (GH-11884) | Raymond Hettinger | 2019-02-15 | 1 | -2/+6 |
| | | | Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``. | ||||
* | Document differences between random.choices() and random.choice(). (GH-11703) | Raymond Hettinger | 2019-01-30 | 1 | -0/+7 |
| | |||||
* | Neaten-up and extend the examples in the random module docs. | Raymond Hettinger | 2016-12-04 | 1 | -10/+14 |
| | |||||
* | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges | Serhiy Storchaka | 2016-11-26 | 1 | -1/+1 |
|\ | | | | | | | in the documentation. |