summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
Commit message (Expand)AuthorAgeFilesLines
* Fix imports from collections.abcRaymond Hettinger2011-02-231-4/+4
* Update whatsnew. Salt the random number seed.Raymond Hettinger2010-12-081-4/+7
* Improve variable name (don't shadow a builtin).Raymond Hettinger2010-09-081-3/+3
* One more conversion from pow() to **.Raymond Hettinger2010-09-081-1/+1
* * Remove dependency on binascii.hexlify by using int.from_bytes().Raymond Hettinger2010-09-081-10/+9
* In the case where only a user supplied random() method is available,Raymond Hettinger2010-09-081-12/+12
* Neaten-up comments and warning message.Raymond Hettinger2010-09-071-4/+4
* Minor refactoring and cleanup. Extend looping randrange() technique to subcl...Raymond Hettinger2010-09-071-20/+23
* Fix test that depends on a particular implementation of random.choice().Raymond Hettinger2010-09-071-5/+2
* Fix corner case for Random.choice() and add tests.Raymond Hettinger2010-09-071-1/+5
* Small clean-ups.Raymond Hettinger2010-09-071-29/+12
* Issues #7889, #9025 and #9379: Improvements to the random module.Raymond Hettinger2010-09-071-23/+20
* Minor code cleanupRaymond Hettinger2010-09-071-4/+4
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-071-2/+11
* Issue #7435: Remove duplicate int/long tests, and otherMark Dickinson2009-12-051-1/+1
* Issue 6261: Clarify behavior of random.uniform().Raymond Hettinger2009-06-111-1/+1
* Use ABCs to validate documented restriction to Sets or Sequences.Raymond Hettinger2009-02-241-3/+4
* Merged revisions 68378 via svnmerge fromMark Dickinson2009-01-071-3/+5
* Merged revisions 65259,65263,65296,65307,65321 via svnmerge fromBenjamin Peterson2008-07-311-1/+1
* Merged revisions 61724-61725,61731-61735,61737,61739,61741,61743-61744,61753,...Christian Heimes2008-03-231-1/+24
* Take Tim's advice and have random.sample() support only sequences and sets.Raymond Hettinger2008-01-141-27/+16
* Remove defunct parts of the random moduleRaymond Hettinger2008-01-131-162/+4
* Merged revisions 59275-59303 via svnmerge fromChristian Heimes2007-12-031-2/+13
* Raise statement normalization in Lib/.Collin Winter2007-08-301-9/+9
* Merged revisions 55817-55961 via svnmerge fromGuido van Rossum2007-06-131-3/+3
* Merged revisions 55007-55179 via svnmerge fromGuido van Rossum2007-05-071-5/+5
* Fix various spots where int/long and str/unicode unificationWalter Dörwald2007-05-031-1/+1
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-4/+4
* Merged revisions 53451-53537 via svnmerge fromThomas Wouters2007-02-011-1/+1
* Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum2007-01-151-10/+10
* Merged revisions 53005-53303 via svnmerge fromThomas Wouters2007-01-091-1/+1
* Merged revisions 46753-51188 via svnmerge fromThomas Wouters2006-08-111-12/+6
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-11/+23
* Whitespace normalization (via reindent.py).Tim Peters2005-08-261-1/+1
* Implement random.sample() using sets instead of dicts.Raymond Hettinger2005-08-191-9/+13
* SF patch #1191489: Simplify logic in random.pyRaymond Hettinger2005-04-301-9/+10
* Removed unused line.Raymond Hettinger2005-01-031-1/+0
* Use floor division operator.Raymond Hettinger2004-09-271-2/+2
* SF #1027105: HardwareRandom should be renamed OSRandomRaymond Hettinger2004-09-131-11/+13
* Fulfill Martin's request to use try/except rather than a "look beforeRaymond Hettinger2004-09-051-17/+8
* SF bug #1022010: Import random failsRaymond Hettinger2004-09-031-1/+2
* HardwareRandom: Go back to multiplying by 2**-BPF instead of usingTim Peters2004-08-311-2/+3
* Take advantage of the math library's ldexp for assembling a float byRaymond Hettinger2004-08-311-5/+3
* Teach the random module about os.urandom().Raymond Hettinger2004-08-301-8/+62
* Fix typo in comment.Raymond Hettinger2004-06-071-1/+1
* SF bug #964230: random.choice([]) should return more intelligible exceptionRaymond Hettinger2004-06-051-1/+1
* Reflow long line.Jeremy Hylton2004-02-231-6/+6
* Whitespace normalization.Tim Peters2004-01-181-1/+1
* Implement and apply PEP 322, reverse iterationRaymond Hettinger2003-11-061-1/+1
* Minor fixup. "Random" was listed twice in __all__.Raymond Hettinger2003-10-121-2/+1