| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.7] Fix typos in docs, comments and test assert messages (GH-14872). (#14901) | Kyle Stanley | 2019-07-22 | 1 | -1/+1 |
| | | | | | | (cherry picked from commit 96e12d5f4f3c5a20986566038ee763dff3c228a1) Co-authored-by: Min ho Kim <minho42@gmail.com> | ||||
| * | [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) | penguindustin | 2019-05-06 | 1 | -1/+1 |
| | | | | | | | | | | | | (cherry picked from commit 964663089547ca110199e23867b46b07ff4be88c) Co-authored-by: penguindustin <penguindustin@gmail.com> https://bugs.python.org/issue36766 | ||||
| * | bpo-24567: Random subnormal.diff (GH-7954) (GH-7955) | Miss Islington (bot) | 2018-06-27 | 1 | -0/+8 |
| | | | | | | | Handle subnormal weights for choices() (cherry picked from commit ddf7171911e117aa7ad4b0f9ded4f0c3a4ca0fec) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | ||||
| * | bpo-33203: Ensure random.choice always raises IndexError on empty sequence ↵ | Miss Islington (bot) | 2018-04-05 | 1 | -1/+4 |
| | | | | | | | | (GH-6338) (GH-6387) (cherry picked from commit 091e95e9004b794280ab35becec2c3e30dd5e96e) Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> | ||||
| * | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -1/+1 |
| | | | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py | ||||
| * | bpo-31478: Fix an assertion failure in random.seed() in case a seed has a ↵ | Oren Milman | 2017-09-28 | 1 | -0/+11 |
| | | | | | bad __abs__() method. (#3596) | ||||
| * | bpo-31482: Missing bytes support for random.seed() version 1 (#3614) | Raymond Hettinger | 2017-09-17 | 1 | -0/+27 |
| | | | | bpo-31482: Missing bytes support for random.seed() version 1 #3614 | ||||
| * | bpo-31160: Fix test_random for zombie process (#3045) | Victor Stinner | 2017-08-09 | 1 | -1/+7 |
| | | | | | TestModule.test_after_fork() now calls os.waitpid() to read the exit status of the child process to avoid creating a zombie process. | ||||
| * | bpo-16500: Allow registering at-fork handlers (#1715) | Antoine Pitrou | 2017-05-27 | 1 | -0/+19 |
| | | | | | | | | | | | | | * bpo-16500: Allow registering at-fork handlers * Address Serhiy's comments * Add doc for new C API * Add doc for new Python-facing function * Add NEWS entry + doc nit | ||||
| * | bpo-30308: Code coverage for argument in random.shuffle (#1504) | csabella | 2017-05-11 | 1 | -1/+11 |
| | | | | | | | | | * bpo-30308: Code coverage for argument in random.shuffle * bpo-30308: Code coverage for argument in random.shuffle * bpo-30308: Code coverage for argument in random.shuffle | ||||
| * | bpo-29960 _random.Random corrupted on exception in setstate(). (#1019) | bladebryan | 2017-04-22 | 1 | -0/+5 |
| | | |||||
| * | merge | Raymond Hettinger | 2016-11-21 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #28743: Reduce memory consumption for random module tests | Raymond Hettinger | 2016-11-21 | 1 | -1/+1 |
| | | | |||||
| * | | merge | Raymond Hettinger | 2016-11-21 | 1 | -0/+1 |
| |\ \ | |/ | |||||
| | * | Issue 28475: Improve error message for random.sample() with k < 0. ↵ | Raymond Hettinger | 2016-11-21 | 1 | -0/+1 |
| | | | | | | | | | (Contributed by Francisco Couzo). | ||||
| * | | merge | Raymond Hettinger | 2016-11-13 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix typos | Raymond Hettinger | 2016-11-13 | 1 | -1/+1 |
| | | | |||||
| * | | merge | Raymond Hettinger | 2016-10-30 | 1 | -0/+17 |
| |\ \ | |/ | |||||
| | * | Issue #18844: Strengthen tests to include a case with unequal weighting | Raymond Hettinger | 2016-10-30 | 1 | -0/+17 |
| | | | |||||
| * | | merge | Raymond Hettinger | 2016-10-29 | 1 | -0/+16 |
| |\ \ | |/ | |||||
| | * | Issue #18844: Make the various ways for specifing weights produce the same ↵ | Raymond Hettinger | 2016-10-29 | 1 | -0/+16 |
| | | | | | | | | | results. | ||||
| * | | Close #28476: Reuse math.factorial() in test_random | Victor Stinner | 2016-10-19 | 1 | -5/+1 |
| |/ | | | | Patch written by Francisco Couzo. | ||||
| * | Issue #18844: Add more tests | Raymond Hettinger | 2016-10-14 | 1 | -0/+14 |
| | | |||||
| * | Issue #18844: Fix-up examples for random.choices(). Remove over-specified ↵ | Raymond Hettinger | 2016-10-12 | 1 | -4/+0 |
| | | | | | test. | ||||
| * | Issue #18844: Make the number of selections a keyword-only argument for ↵ | Raymond Hettinger | 2016-09-27 | 1 | -21/+21 |
| | | | | | random.choices(). | ||||
| * | Rename weighted_choices() to just choices() | Raymond Hettinger | 2016-09-07 | 1 | -27/+27 |
| | | |||||
| * | Issue #18844: Add random.weighted_choices() | Raymond Hettinger | 2016-09-07 | 1 | -0/+68 |
| | | |||||
| * | Issue #27706: Fix regression in random.seed(somestr, version=1) | Raymond Hettinger | 2016-08-31 | 1 | -0/+18 |
| | | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | | |||||
| * | Issue #24620: Random.setstate() now validates the value of state last element. | Serhiy Storchaka | 2015-07-24 | 1 | -0/+5 |
| | | |||||
| * | Issue #22777: Test pickling with all protocols. | Serhiy Storchaka | 2014-12-15 | 1 | -6/+8 |
| | | |||||
| * | Issue 13355: Make random.triangular degrade gracefully when low == high. | Raymond Hettinger | 2014-05-26 | 1 | -1/+1 |
| | | |||||
| * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -2/+0 |
| |\ | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts. | ||||
| | * | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script. | ||||
| * | | Issue #19588: Merge with 3.3 | Zachary Ware | 2013-11-26 | 1 | -6/+6 |
| |\ \ | |/ | |||||
| | * | Issue #19588: Fixed tests in test_random that were silently skipped most | Zachary Ware | 2013-11-26 | 1 | -6/+6 |
| | | | | | | | | | of the time. Patch by Julian Gindi. | ||||
| * | | #17789: merge with 3.3. | Ezio Melotti | 2013-04-19 | 1 | -27/+12 |
| |\ \ | |/ | |||||
| | * | #17789: test_random now works with unittest test discovery. Patch by ↵ | Ezio Melotti | 2013-04-19 | 1 | -27/+12 |
| | | | | | | | | | Zachary Ware. | ||||
| * | | Revert changes for #13355 by request from Raymond Hettinger | Andrew Svetlov | 2013-04-13 | 1 | -28/+1 |
| |\ \ | |/ | |||||
| | * | Revert changes for #13355 by request from Raymond Hettinger | Andrew Svetlov | 2013-04-13 | 1 | -31/+1 |
| | | | |||||
| * | | Fix whitespaces | Andrew Svetlov | 2013-04-12 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix whitespaces | Andrew Svetlov | 2013-04-12 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #13355: Raise ValueError on random.triangular call with invalid params. | Andrew Svetlov | 2013-04-12 | 1 | -2/+28 |
| |\ \ | |/ | | | | | Initial patch by Yuriy Senko. | ||||
| | * | Issue #13355: Raise ValueError on random.triangular call with invalid params. | Andrew Svetlov | 2013-04-12 | 1 | -1/+31 |
| | | | | | | | | | Initial patch by Yuriy Senko. | ||||
| * | | #17492: Additional tests for random module. | R David Murray | 2013-04-02 | 1 | -0/+175 |
| | | | | | | | | | Patch by Victor Terrón. | ||||
| * | | Issue #17141: random.vonmisesvariate() no more hangs for large kappas. | Serhiy Storchaka | 2013-02-10 | 1 | -2/+32 |
| |\ \ | |/ | |||||
| | * | Issue #17141: random.vonmisesvariate() no more hangs for large kappas. | Serhiy Storchaka | 2013-02-10 | 1 | -2/+32 |
| | |\ | |||||
| | | * | Issue #17141: random.vonmisesvariate() no more hangs for large kappas. | Serhiy Storchaka | 2013-02-10 | 1 | -2/+32 |
| | | | | |||||
| * | | | Issue #17149: merge fix from 3.3. | Mark Dickinson | 2013-02-10 | 1 | -0/+14 |
| |\ \ \ | |/ / | |||||
| | * | | Issue #17149: merge fix from 3.2. | Mark Dickinson | 2013-02-10 | 1 | -0/+14 |
| | |\ \ | | |/ | |||||
