Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 13355: Make random.triangular degrade gracefully when low == high. | Raymond Hettinger | 2014-05-26 | 1 | -1/+4 |
| | |||||
* | 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 |
| | | |||||
* | | #11848: Merge with 3.2. | Ezio Melotti | 2011-04-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #11848: Merge with 3.1. | Ezio Melotti | 2011-04-15 | 1 | -1/+1 |
| |\ | |||||
| | * | #11848: replace dead link in random.betavariate comment. | Ezio Melotti | 2011-04-15 | 1 | -1/+1 |
| | | | |||||
* | | | Issue 10787: Document the probability density function for random.gammavariate. | Raymond Hettinger | 2011-03-22 | 1 | -0/+6 |
|\ \ \ | |/ / | |||||
| * | | Issue 10787: Document the probability density function for random.gammavariate. | Raymond Hettinger | 2011-03-22 | 1 | -0/+6 |
| |\ \ | | |/ | |||||
| | * | Issue 10787: Document the probability density function for random.gammavariate. | Raymond Hettinger | 2011-03-22 | 1 | -0/+6 |
| | | | |||||
| | * | Issue #7435: Remove reference to long in docstring. Thanks flox. | Mark Dickinson | 2009-12-05 | 1 | -1/+1 |
| | | | |||||
* | | | Normalize the encoding names for Latin-1 and UTF-8 to | Marc-André Lemburg | 2011-02-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303. | ||||
* | | | Fix imports from collections.abc | Raymond Hettinger | 2011-02-23 | 1 | -4/+4 |
|/ / | |||||
* | | Update whatsnew. Salt the random number seed. | Raymond Hettinger | 2010-12-08 | 1 | -4/+7 |
| | | |||||
* | | Improve variable name (don't shadow a builtin). | Raymond Hettinger | 2010-09-08 | 1 | -3/+3 |
| | | |||||
* | | One more conversion from pow() to **. | Raymond Hettinger | 2010-09-08 | 1 | -1/+1 |
| | | |||||
* | | * Remove dependency on binascii.hexlify by using int.from_bytes(). | Raymond Hettinger | 2010-09-08 | 1 | -10/+9 |
| | | | | | | | | | | | | | | * Use the new super() with no arguments. * Replace pow() call with the ** operator. * Increase urandom seeding from 16 bytes to 32 bytes. * Clean-up docstring. | ||||
* | | In the case where only a user supplied random() method is available, | Raymond Hettinger | 2010-09-08 | 1 | -12/+12 |
| | | | | | | | | adopt a strategy that makes the fewest calls to random(). | ||||
* | | Neaten-up comments and warning message. | Raymond Hettinger | 2010-09-07 | 1 | -4/+4 |
| | | |||||
* | | Minor refactoring and cleanup. Extend looping randrange() technique to ↵ | Raymond Hettinger | 2010-09-07 | 1 | -20/+23 |
| | | | | | | | | subclasses. | ||||
* | | Fix test that depends on a particular implementation of random.choice(). | Raymond Hettinger | 2010-09-07 | 1 | -5/+2 |
| | | |||||
* | | Fix corner case for Random.choice() and add tests. | Raymond Hettinger | 2010-09-07 | 1 | -1/+5 |
| | |