summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* SF bug #812202: randint is always evenRaymond Hettinger2003-10-051-10/+54
* SF bug #801342: Bug (documentation or real, your choice) in random.sample.Raymond Hettinger2003-09-061-0/+4
* Eliminate unnecessary eval() in testsRaymond Hettinger2003-08-301-19/+18
* SF bug #778964: bad seed in python 2.3 randomRaymond Hettinger2003-08-091-0/+3
* Removed deprecated functionsRaymond Hettinger2003-08-051-49/+2
* SF bug #759889: Pickling of Random is brokenRaymond Hettinger2003-06-241-0/+3
* randrange(): Repaired my overly optimistic rewrite, and added commentsTim Peters2003-06-191-1/+13
* randrange(): 2.3 can no longer raises OverflowError on an int() call, soTim Peters2003-06-191-10/+1
* SF bug #753602: random.sample not properly documentedRaymond Hettinger2003-06-131-4/+5
* 'sum' is no longer a good variable name. Use 'total' instead.Raymond Hettinger2003-05-241-3/+3
* * Migrate sample distribution test from random.py to test_random.py.Raymond Hettinger2003-01-171-5/+0
* Much clearer when super() is used.Raymond Hettinger2003-01-071-5/+5
* Move the statistical tests for four distributions into the unittest suite.Raymond Hettinger2003-01-051-3/+0
* Correct long standing bugs in the methods for random distributions.Raymond Hettinger2003-01-041-4/+6
* Remove the random=None nonsense from sample() before it gets set in stone.Raymond Hettinger2003-01-041-18/+11
* SF patch 658251: Install a C implementation of the Mersenne Twister as theRaymond Hettinger2002-12-291-225/+178
* Clarify and speedup test.Raymond Hettinger2002-12-071-2/+3
* Improve comments. Clarify docs.Raymond Hettinger2002-11-181-15/+14
* Improved clarity and thoroughness of docstring.Raymond Hettinger2002-11-131-20/+41
* Docstring typo fixAndrew M. Kuchling2002-11-131-1/+1