]> granicus.if.org Git - python/commit
Change random.seed() so that it can get at the full range of possible
authorTim Peters <tim.peters@gmail.com>
Thu, 1 Feb 2001 04:59:18 +0000 (04:59 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 1 Feb 2001 04:59:18 +0000 (04:59 +0000)
commit0de88fc4b108751b86443852b6741680d704168f
treea3824b12e3ed7dc1d65667388a4ace86f7fffe6e
parent0eb107068a4a66d9c4df7276ca330b7d0312645e
Change random.seed() so that it can get at the full range of possible
internal states.  Put the old .seed() (which could only get at about
the square root of the # of possibilities) under the new name .whseed(),
for bit-level compatibility with older versions.  This occurred to me
while reviewing effbot's book (he found himself stumbling over .seed()
more than once there ...).
Doc/lib/librandom.tex
Lib/random.py
Misc/NEWS