Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. ↵ | Raymond Hettinger | 2016-11-21 | 1 | -1/+1 |
| | | | | (Contributed by Francisco Couzo). | ||||
* | Fix typos | Raymond Hettinger | 2016-11-13 | 1 | -1/+1 |
| | |||||
* | Minor code beautification | Raymond Hettinger | 2016-11-02 | 1 | -2/+1 |
| | |||||
* | Issue #18844: Make the various ways for specifing weights produce the same ↵ | Raymond Hettinger | 2016-10-29 | 1 | -3/+4 |
| | | | | results. | ||||
* | Issue #18844: Make the number of selections a keyword-only argument for ↵ | Raymond Hettinger | 2016-09-27 | 1 | -1/+1 |
| | | | | random.choices(). | ||||
* | Rename weighted_choices() to just choices() | Raymond Hettinger | 2016-09-07 | 1 | -3/+3 |
| | |||||
* | Issue #18844: Add random.weighted_choices() | Raymond Hettinger | 2016-09-07 | 1 | -1/+27 |
| | |||||
* | os.urandom() now blocks on Linux | Victor Stinner | 2016-09-06 | 1 | -9/+0 |
| | | | | | | | Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer until the system urandom entropy pool is initialized to increase the security. This change is part of the PEP 524. | ||||
* | Merge | Raymond Hettinger | 2016-09-04 | 1 | -3/+5 |
|\ | |||||
| * | Improve docs for random.seed() | Raymond Hettinger | 2016-09-04 | 1 | -3/+5 |
| | | |||||
* | | Minor beautification (turn nested-if into a conjunction). | Raymond Hettinger | 2016-09-01 | 1 | -6/+5 |
| | | |||||
* | | Merge | Raymond Hettinger | 2016-08-31 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #27706: Fix regression in random.seed(somestr, version=1) | Raymond Hettinger | 2016-08-31 | 1 | -0/+7 |
| | | |||||
* | | Minor beautification | Raymond Hettinger | 2016-06-25 | 1 | -2/+2 |
|/ | |||||
* | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | merge | Raymond Hettinger | 2014-05-26 | 1 | -1/+4 |
|\ | |||||
| * | Issue 13355: Make random.triangular degrade gracefully when low == high. | Raymond Hettinger | 2014-05-26 | 1 | -1/+4 |
| | | |||||
* | | Improve readability | Raymond Hettinger | 2014-05-19 | 1 | -1/+1 |
|/ | |||||
* | Issue #21470: Do a better job seeding the random number generator | Raymond Hettinger | 2014-05-14 | 1 | -1/+3 |
| | | | | to fully cover its state space. | ||||
* | Issue #19218: Rename collections.abc to _collections_abc in order to speed ↵ | Christian Heimes | 2013-10-13 | 1 | -1/+1 |
| | | | | up interpreter start | ||||
* | Minor clean-up of function parameters in random(). | Raymond Hettinger | 2013-10-06 | 1 | -12/+17 |
|\ | |||||
| * | Minor clean-up of function parameters in random(). | Raymond Hettinger | 2013-10-06 | 1 | -11/+17 |
| | | |||||
* | | Issue #19169: Micro refactoring with a micro benefit for brevity and speed. | Raymond Hettinger | 2013-10-06 | 1 | -2/+2 |
| | | |||||
* | | Removing the merge conflict markers. | Senthil Kumaran | 2013-09-12 | 1 | -5/+0 |
| | | | | | | | | - my previous removal and hg resolve mark had still left them and hooks did not catch it too! | ||||
* | | merge from 3.3 | Senthil Kumaran | 2013-09-12 | 1 | -0/+7 |
|\ \ | |/ | | | | | | | Improve the docstring of random.shuffle. Inform users not to provide int arg. Addresses issue #14927 | ||||
| * | Improve the docstring of random.shuffle. Inform users not to provide int arg. | Senthil Kumaran | 2013-09-12 | 1 | -0/+2 |
| | | | | | | | | Addresses issue #14927 | ||||
* | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
|\ \ | |/ | | | | | error messages and comments. | ||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
| | | | | | | | | error messages and comments. | ||||
* | | Revert changes for #13355 by request from Raymond Hettinger | Andrew Svetlov | 2013-04-13 | 1 | -10/+0 |
|\ \ | |/ | |||||
| * | Revert changes for #13355 by request from Raymond Hettinger | Andrew Svetlov | 2013-04-13 | 1 | -10/+0 |
| | | |||||
* | | Issue #13355: Raise ValueError on random.triangular call with invalid params. | Andrew Svetlov | 2013-04-12 | 1 | -0/+10 |
|\ \ | |/ | | | | | Initial patch by Yuriy Senko. | ||||
| * | Issue #13355: Raise ValueError on random.triangular call with invalid params. | Andrew Svetlov | 2013-04-12 | 1 | -0/+10 |
| | | | | | | | | Initial patch by Yuriy Senko. | ||||
* | | #17489: Add explanatory comment that __getstate__ is not called. | R David Murray | 2013-04-02 | 1 | -0/+3 |
| | | | | | | | | | | | | We don't put coverage directives in the stdlib, but anyone looking at a coverage report for Random should see the comment and understand why the lines aren't covered. | ||||
* | | Issue #17141: random.vonmisesvariate() no more hangs for large kappas. | Serhiy Storchaka | 2013-02-10 | 1 | -8/+6 |
|\ \ | |/ | |||||
| * | Issue #17141: random.vonmisesvariate() no more hangs for large kappas. | Serhiy Storchaka | 2013-02-10 | 1 | -8/+6 |
| |\ | |||||
| | * | Issue #17141: random.vonmisesvariate() no more hangs for large kappas. | Serhiy Storchaka | 2013-02-10 | 1 | -8/+6 |
| | | | |||||
* | | | Issue #17149: merge fix from 3.3. | Mark Dickinson | 2013-02-10 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #17149: merge fix from 3.2. | Mark Dickinson | 2013-02-10 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #17149: Fix random.vonmisesvariate to always return results in [0, ↵ | Mark Dickinson | 2013-02-10 | 1 | -2/+2 |
| | | | | | | | | | | | | 2*math.pi]. | ||||
* | | | Issue #15837: add some tests for random.shuffle(). | Antoine Pitrou | 2012-11-04 | 1 | -3/+4 |
|/ / | | | | | | | Patch by Alessandro Moura. | ||||
* | | Issue #14926: merge with 3.2 | Sandro Tosi | 2012-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #14926: fix docstring highlight | Sandro Tosi | 2012-06-02 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.2 | Brian Curtin | 2011-11-11 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Fix #13384. Remove __future__ import in 3.x code. | Brian Curtin | 2011-11-11 | 1 | -1/+0 |
| | | |||||
* | | Code simplification suggested by Sven Marnach. | Raymond Hettinger | 2011-06-25 | 1 | -5/+3 |
|\ \ | |/ | |||||
| * | Code simplification suggested by Sven Marnach. | Raymond Hettinger | 2011-06-25 | 1 | -5/+3 |
| | | |||||
| * | Sync-up minor code edits with the default branch. | Raymond Hettinger | 2011-05-05 | 1 | -4/+4 |
| | | |||||
* | | Avoid codec spelling issues by just using the utf-8 default. | Raymond Hettinger | 2011-05-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Avoid codec spelling issues by just using the utf-8 default. | Raymond Hettinger | 2011-05-05 | 1 | -1/+1 |
| | |