aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/random.py
Commit message (Collapse)AuthorAge
...
| * Improve the docstring of random.shuffle. Inform users not to provide int arg.Senthil Kumaran2013-09-11
| | | | | | | | Addresses issue #14927
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-27
|\| | | | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-27
| | | | | | | | error messages and comments.
* | Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov2013-04-13
|\|
| * Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov2013-04-13
| |
* | Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov2013-04-12
|\| | | | | | | Initial patch by Yuriy Senko.
| * Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov2013-04-12
| | | | | | | | Initial patch by Yuriy Senko.
* | #17489: Add explanatory comment that __getstate__ is not called.R David Murray2013-04-02
| | | | | | | | | | | | 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 Storchaka2013-02-10
|\|
| * Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka2013-02-10
| |\
| | * Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka2013-02-10
| | |
* | | Issue #17149: merge fix from 3.3.Mark Dickinson2013-02-10
|\| |
| * | Issue #17149: merge fix from 3.2.Mark Dickinson2013-02-10
| |\|
| | * Issue #17149: Fix random.vonmisesvariate to always return results in [0, ↵Mark Dickinson2013-02-10
| | | | | | | | | | | | 2*math.pi].
* | | Issue #15837: add some tests for random.shuffle().Antoine Pitrou2012-11-04
|/ / | | | | | | Patch by Alessandro Moura.
* | Issue #14926: merge with 3.2Sandro Tosi2012-06-02
|\|
| * Issue #14926: fix docstring highlightSandro Tosi2012-06-02
| |
* | Merge 3.2Brian Curtin2011-11-11
|\|
| * Fix #13384. Remove __future__ import in 3.x code.Brian Curtin2011-11-11
| |
* | Code simplification suggested by Sven Marnach.Raymond Hettinger2011-06-25
|\|
| * Code simplification suggested by Sven Marnach.Raymond Hettinger2011-06-25
| |
| * Sync-up minor code edits with the default branch.Raymond Hettinger2011-05-05
| |
* | Avoid codec spelling issues by just using the utf-8 default.Raymond Hettinger2011-05-05
|\|
| * Avoid codec spelling issues by just using the utf-8 default.Raymond Hettinger2011-05-05
| |
* | #11848: Merge with 3.2.Ezio Melotti2011-04-15
|\|
| * #11848: Merge with 3.1.Ezio Melotti2011-04-15
| |\
| | * #11848: replace dead link in random.betavariate comment.Ezio Melotti2011-04-15
| | |
* | | Issue 10787: Document the probability density function for random.gammavariate.Raymond Hettinger2011-03-22
|\| |
| * | Issue 10787: Document the probability density function for random.gammavariate.Raymond Hettinger2011-03-22
| |\|
| | * Issue 10787: Document the probability density function for random.gammavariate.Raymond Hettinger2011-03-22
| | |
| | * Issue #7435: Remove reference to long in docstring. Thanks flox.Mark Dickinson2009-12-05
| | |
* | | Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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.abcRaymond Hettinger2011-02-23
|/ /
* | Update whatsnew. Salt the random number seed.Raymond Hettinger2010-12-08
| |
* | Improve variable name (don't shadow a builtin).Raymond Hettinger2010-09-08
| |
* | One more conversion from pow() to **.Raymond Hettinger2010-09-08
| |
* | * Remove dependency on binascii.hexlify by using int.from_bytes().Raymond Hettinger2010-09-08
| | | | | | | | | | | | | | * 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 Hettinger2010-09-08
| | | | | | | | adopt a strategy that makes the fewest calls to random().
* | Neaten-up comments and warning message.Raymond Hettinger2010-09-07
| |
* | Minor refactoring and cleanup. Extend looping randrange() technique to ↵Raymond Hettinger2010-09-07
| | | | | | | | subclasses.
* | Fix test that depends on a particular implementation of random.choice().Raymond Hettinger2010-09-07
| |
* | Fix corner case for Random.choice() and add tests.Raymond Hettinger2010-09-07
| |
* | Small clean-ups.Raymond Hettinger2010-09-07
| |
* | Issues #7889, #9025 and #9379: Improvements to the random module.Raymond Hettinger2010-09-07
| |
* | Minor code cleanupRaymond Hettinger2010-09-07
| |
* | Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-07
| |
* | Issue #7435: Remove duplicate int/long tests, and otherMark Dickinson2009-12-05
|/ | | | references to long in py3k. Patch provided by flox.
* Issue 6261: Clarify behavior of random.uniform().Raymond Hettinger2009-06-11
|
* Use ABCs to validate documented restriction to Sets or Sequences.Raymond Hettinger2009-02-24
|
* Merged revisions 68378 via svnmerge fromMark Dickinson2009-01-07
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68378 | mark.dickinson | 2009-01-07 17:48:33 +0000 (Wed, 07 Jan 2009) | 2 lines Issue #4869: clarify documentation for random.expovariate. ........