summaryrefslogtreecommitdiff
path: root/Lib/random.py
AgeCommit message (Expand)AuthorLines
2013-04-13Revert changes for #13355 by request from Raymond HettingerAndrew Svetlov-10/+0
2013-04-12Issue #13355: Raise ValueError on random.triangular call with invalid params.Andrew Svetlov-0/+10
2013-02-10Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka-8/+6
2013-02-10Issue #17141: random.vonmisesvariate() no more hangs for large kappas.Serhiy Storchaka-8/+6
2013-02-10Issue #17149: merge fix from 3.2.Mark Dickinson-2/+2
2013-02-10Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*ma...Mark Dickinson-2/+2
2012-06-02Issue #14926: merge with 3.2Sandro Tosi-1/+1
2012-06-02Issue #14926: fix docstring highlightSandro Tosi-1/+1
2011-11-11Merge 3.2Brian Curtin-1/+0
2011-11-11Fix #13384. Remove __future__ import in 3.x code.Brian Curtin-1/+0
2011-06-25Code simplification suggested by Sven Marnach.Raymond Hettinger-5/+3
2011-06-25Code simplification suggested by Sven Marnach.Raymond Hettinger-5/+3
2011-05-05Sync-up minor code edits with the default branch.Raymond Hettinger-4/+4
2011-05-05Avoid codec spelling issues by just using the utf-8 default.Raymond Hettinger-1/+1
2011-05-05Avoid codec spelling issues by just using the utf-8 default.Raymond Hettinger-1/+1
2011-04-15#11848: Merge with 3.2.Ezio Melotti-1/+1
2011-04-15#11848: Merge with 3.1.Ezio Melotti-1/+1
2011-04-15#11848: replace dead link in random.betavariate comment.Ezio Melotti-1/+1
2011-03-22Issue 10787: Document the probability density function for random.gammavariate.Raymond Hettinger-0/+6
2011-03-22Issue 10787: Document the probability density function for random.gammavariate.Raymond Hettinger-0/+6
2011-03-22Issue 10787: Document the probability density function for random.gammavariate.Raymond Hettinger-0/+6
2011-02-25Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg-1/+1
2011-02-23Fix imports from collections.abcRaymond Hettinger-4/+4
2010-12-08Update whatsnew. Salt the random number seed.Raymond Hettinger-4/+7
2010-09-08Improve variable name (don't shadow a builtin).Raymond Hettinger-3/+3
2010-09-08One more conversion from pow() to **.Raymond Hettinger-1/+1
2010-09-08* Remove dependency on binascii.hexlify by using int.from_bytes().Raymond Hettinger-10/+9
2010-09-08In the case where only a user supplied random() method is available,Raymond Hettinger-12/+12
2010-09-07Neaten-up comments and warning message.Raymond Hettinger-4/+4
2010-09-07Minor refactoring and cleanup. Extend looping randrange() technique to subcl...Raymond Hettinger-20/+23
2010-09-07Fix test that depends on a particular implementation of random.choice().Raymond Hettinger-5/+2
2010-09-07Fix corner case for Random.choice() and add tests.Raymond Hettinger-1/+5
2010-09-07Small clean-ups.Raymond Hettinger-29/+12
2010-09-07Issues #7889, #9025 and #9379: Improvements to the random module.Raymond Hettinger-23/+20
2010-09-07Minor code cleanupRaymond Hettinger-4/+4
2010-09-07Document which part of the random module module are guaranteed.Raymond Hettinger-2/+11
2009-12-05Issue #7435: Remove reference to long in docstring. Thanks flox.Mark Dickinson-1/+1
2009-12-05Issue #7435: Remove duplicate int/long tests, and otherMark Dickinson-1/+1
2009-06-11Issue 6261: Clarify behavior of random.uniform().Raymond Hettinger-1/+1
2009-02-24Use ABCs to validate documented restriction to Sets or Sequences.Raymond Hettinger-3/+4
2009-01-07Merged revisions 68378 via svnmerge fromMark Dickinson-3/+5
2008-07-31Merged revisions 65259,65263,65296,65307,65321 via svnmerge fromBenjamin Peterson-1/+1
2008-03-23Merged revisions 61724-61725,61731-61735,61737,61739,61741,61743-61744,61753,...Christian Heimes-1/+24
2008-01-14Take Tim's advice and have random.sample() support only sequences and sets.Raymond Hettinger-27/+16
2008-01-13Remove defunct parts of the random moduleRaymond Hettinger-162/+4
2007-12-03Merged revisions 59275-59303 via svnmerge fromChristian Heimes-2/+13
2007-08-30Raise statement normalization in Lib/.Collin Winter-9/+9
2007-06-13Merged revisions 55817-55961 via svnmerge fromGuido van Rossum-3/+3
2007-05-07Merged revisions 55007-55179 via svnmerge fromGuido van Rossum-5/+5
2007-05-03Fix various spots where int/long and str/unicode unificationWalter Dörwald-1/+1