summaryrefslogtreecommitdiff
path: root/Lib/random.py
AgeCommit message (Expand)AuthorLines
2003-10-05SF bug #812202: randint is always evenRaymond Hettinger-8/+41
2003-09-08Set the warnings stacklevel to two.Raymond Hettinger-4/+4
2003-09-05SF bug #801342: Bug (documentation or real, your choice) in random.sample.Raymond Hettinger-0/+4
2003-08-09SF bug #778964: bad seed in python 2.3 randomRaymond Hettinger-0/+3
2003-06-24SF bug #759889: Pickling of Random is brokenRaymond Hettinger-0/+3
2003-06-19randrange(): Repaired my overly optimistic rewrite, and added commentsTim Peters-1/+13
2003-06-19randrange(): 2.3 can no longer raises OverflowError on an int() call, soTim Peters-10/+1
2003-06-13SF bug #753602: random.sample not properly documentedRaymond Hettinger-4/+5
2003-05-24'sum' is no longer a good variable name. Use 'total' instead.Raymond Hettinger-3/+3
2003-01-17* Migrate sample distribution test from random.py to test_random.py.Raymond Hettinger-5/+0
2003-01-07Much clearer when super() is used.Raymond Hettinger-5/+5
2003-01-05Move the statistical tests for four distributions into the unittest suite.Raymond Hettinger-3/+0
2003-01-04Correct long standing bugs in the methods for random distributions.Raymond Hettinger-4/+6
2003-01-04Remove the random=None nonsense from sample() before it gets set in stone.Raymond Hettinger-18/+11
2002-12-29SF patch 658251: Install a C implementation of the Mersenne Twister as theRaymond Hettinger-223/+176
2002-12-07Clarify and speedup test.Raymond Hettinger-2/+3
2002-11-18Improve comments. Clarify docs.Raymond Hettinger-15/+14
2002-11-13Improved clarity and thoroughness of docstring.Raymond Hettinger-20/+41
2002-11-13Docstring typo fixAndrew M. Kuchling-1/+1
2002-11-12SF patch 629637: Add sample(population, k) method to the random module.Raymond Hettinger-2/+56
2002-08-16SF bug 594996: OverflowError in random.randrangeTim Peters-4/+17
2002-05-23Whitespace normalized.Raymond Hettinger-11/+11
2002-05-23Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.Raymond Hettinger-0/+81
2002-05-23Whitespace normalization.Tim Peters-5/+5
2002-05-14Use spaces, not tabs for indents.Guido van Rossum-4/+4
2002-05-14Closes patch 529408 deprecating random.stdgamma().Raymond Hettinger-11/+35
2002-05-13Closes SF bug 527139. Moved temp variables inside guard.Raymond Hettinger-7/+6
2002-05-05random.gauss() uses a piece of hidden state used by nothing else,Tim Peters-1/+4
2002-04-13BDFL agreed with Tim: rehabilitate randint().Neal Norwitz-2/+0
2001-11-25SF patch 483059: Avoid use of eval() in random.py, from Finn Bock.Tim Peters-6/+5
2001-02-15Whitespace normalization.Tim Peters-1/+1
2001-02-15bunch more __all__ listsSkip Montanaro-0/+6
2001-02-01Repaired a docstring.Tim Peters-1/+1
2001-02-01Change random.seed() so that it can get at the full range of possibleTim Peters-37/+67
2001-01-26New comment block to Clarify a subtlety.Tim Peters-1/+5
2001-01-26The combo of getstate/setstate/jumpahead is very powerful, but needsTim Peters-6/+45
2001-01-26SF bug 130030: Claim of bad betavariate algorithm.Tim Peters-6/+19
2001-01-25Cosmetic changes after some sleep; no change in semantics.Tim Peters-64/+82
2001-01-25Fix bugs introduced by rewrite (in particular, time-based initializationTim Peters-4/+38
2001-01-25Reworked random.py so that it no longer depends on, and offers all theTim Peters-237/+393
2001-01-15Whitespace normalization.Tim Peters-203/+203
2000-09-16Repair senseless random.seed docstring (reported on c.l.py).Tim Peters-1/+1
2000-02-04The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum-18/+19
1999-08-18Add Tim Peters' shuffle() algorithm.Guido van Rossum-0/+21
1998-07-31Added randrange to list of exported functions.Guido van Rossum-1/+1
1998-05-29Make gauss() semi-thread-safe. It can still give duplicate results,Guido van Rossum-4/+14
1998-05-20Add Interfaces to replace remaining needs for importing whrandom.Guido van Rossum-0/+46
1998-04-06Correction to vonmisesvariate() by Magnus Kessler: it should take andGuido van Rossum-5/+12
1998-02-19Fixed a bug in the gauss() function. The bug was reported by MikeGuido van Rossum-5/+6
1997-12-09# Typos in the comments giving the names of two recently added distributions.Guido van Rossum-2/+2