index
:
cpython.git
2.7
3.3
3.4
3.5
3.6
benjamin-clang
benjamin-iteration-torture
buildbot-custom
master
https://github.com/python/cpython.git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
Lib
/
random.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
Another crack at bug #1460340: make random.sample(dict)
Tim Peters
2006-04-01
1
-3/+14
*
SF bug #1460340: random.sample can raise KeyError
Raymond Hettinger
2006-03-29
1
-10/+11
*
Whitespace normalization (via reindent.py).
Tim Peters
2005-08-26
1
-1/+1
*
Implement random.sample() using sets instead of dicts.
Raymond Hettinger
2005-08-19
1
-9/+13
*
SF patch #1191489: Simplify logic in random.py
Raymond Hettinger
2005-04-30
1
-9/+10
*
Removed unused line.
Raymond Hettinger
2005-01-03
1
-1/+0
*
Use floor division operator.
Raymond Hettinger
2004-09-27
1
-2/+2
*
SF #1027105: HardwareRandom should be renamed OSRandom
Raymond Hettinger
2004-09-13
1
-11/+13
*
Fulfill Martin's request to use try/except rather than a "look before
Raymond Hettinger
2004-09-05
1
-17/+8
*
SF bug #1022010: Import random fails
Raymond Hettinger
2004-09-03
1
-1/+2
*
HardwareRandom: Go back to multiplying by 2**-BPF instead of using
Tim Peters
2004-08-31
1
-2/+3
*
Take advantage of the math library's ldexp for assembling a float by
Raymond Hettinger
2004-08-31
1
-5/+3
*
Teach the random module about os.urandom().
Raymond Hettinger
2004-08-30
1
-8/+62
*
Fix typo in comment.
Raymond Hettinger
2004-06-07
1
-1/+1
*
SF bug #964230: random.choice([]) should return more intelligible exception
Raymond Hettinger
2004-06-05
1
-1/+1
*
Reflow long line.
Jeremy Hylton
2004-02-23
1
-6/+6
*
Whitespace normalization.
Tim Peters
2004-01-18
1
-1/+1
*
Implement and apply PEP 322, reverse iteration
Raymond Hettinger
2003-11-06
1
-1/+1
*
Minor fixup. "Random" was listed twice in __all__.
Raymond Hettinger
2003-10-12
1
-2/+1
*
SF bug #812202: randint is always even
Raymond Hettinger
2003-10-05
1
-10/+54
*
SF bug #801342: Bug (documentation or real, your choice) in random.sample.
Raymond Hettinger
2003-09-06
1
-0/+4
*
Eliminate unnecessary eval() in tests
Raymond Hettinger
2003-08-30
1
-19/+18
*
SF bug #778964: bad seed in python 2.3 random
Raymond Hettinger
2003-08-09
1
-0/+3
*
Removed deprecated functions
Raymond Hettinger
2003-08-05
1
-49/+2
*
SF bug #759889: Pickling of Random is broken
Raymond Hettinger
2003-06-24
1
-0/+3
*
randrange(): Repaired my overly optimistic rewrite, and added comments
Tim Peters
2003-06-19
1
-1/+13
*
randrange(): 2.3 can no longer raises OverflowError on an int() call, so
Tim Peters
2003-06-19
1
-10/+1
*
SF bug #753602: random.sample not properly documented
Raymond Hettinger
2003-06-13
1
-4/+5
*
'sum' is no longer a good variable name. Use 'total' instead.
Raymond Hettinger
2003-05-24
1
-3/+3
*
* Migrate sample distribution test from random.py to test_random.py.
Raymond Hettinger
2003-01-17
1
-5/+0
*
Much clearer when super() is used.
Raymond Hettinger
2003-01-07
1
-5/+5
*
Move the statistical tests for four distributions into the unittest suite.
Raymond Hettinger
2003-01-05
1
-3/+0
*
Correct long standing bugs in the methods for random distributions.
Raymond Hettinger
2003-01-04
1
-4/+6
*
Remove the random=None nonsense from sample() before it gets set in stone.
Raymond Hettinger
2003-01-04
1
-18/+11
*
SF patch 658251: Install a C implementation of the Mersenne Twister as the
Raymond Hettinger
2002-12-29
1
-225/+178
*
Clarify and speedup test.
Raymond Hettinger
2002-12-07
1
-2/+3
*
Improve comments. Clarify docs.
Raymond Hettinger
2002-11-18
1
-15/+14
*
Improved clarity and thoroughness of docstring.
Raymond Hettinger
2002-11-13
1
-20/+41
*
Docstring typo fix
Andrew M. Kuchling
2002-11-13
1
-1/+1
*
SF patch 629637: Add sample(population, k) method to the random module.
Raymond Hettinger
2002-11-12
1
-2/+56
*
SF bug 594996: OverflowError in random.randrange
Tim Peters
2002-08-16
1
-4/+17
*
Whitespace normalized.
Raymond Hettinger
2002-05-23
1
-11/+11
*
Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.
Raymond Hettinger
2002-05-23
1
-0/+81
*
Whitespace normalization.
Tim Peters
2002-05-23
1
-5/+5
*
Use spaces, not tabs for indents.
Guido van Rossum
2002-05-14
1
-4/+4
*
Closes patch 529408 deprecating random.stdgamma().
Raymond Hettinger
2002-05-14
1
-11/+35
*
Closes SF bug 527139. Moved temp variables inside guard.
Raymond Hettinger
2002-05-13
1
-7/+6
*
random.gauss() uses a piece of hidden state used by nothing else,
Tim Peters
2002-05-05
1
-1/+4
*
BDFL agreed with Tim: rehabilitate randint().
Neal Norwitz
2002-04-13
1
-2/+0
*
SF patch 483059: Avoid use of eval() in random.py, from Finn Bock.
Tim Peters
2001-11-25
1
-6/+5
[next]