commit | 0de88fc4b108751b86443852b6741680d704168f | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Thu Feb 01 04:59:18 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Thu Feb 01 04:59:18 2001 +0000 |
tree | a3824b12e3ed7dc1d65667388a4ace86f7fffe6e | |
parent | 0eb107068a4a66d9c4df7276ca330b7d0312645e [diff] |
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 ...).