]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Whitespace normalization and backport:
authorRaymond Hettinger <python@rcn.com>
Mon, 23 Sep 2002 14:48:16 +0000 (14:48 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 23 Sep 2002 14:48:16 +0000 (14:48 +0000)
commit070884c76a1d0e9da8eb8f8615f418c283b516b7
tree05bcf755aa7c446cbe53da0963d0923834614b61
parente780c12cdf85f4ab9871c38d8424ff5f1c880ea6
Whitespace normalization and backport:

random.gauss() uses a piece of hidden state used by nothing else,
and the .seed() and .whseed() methods failed to reset it.  In other
words, setting the seed didn't completely determine the sequence of
results produced by random.gauss().  It does now.  Programs repeatedly
mixing calls to a seed method with calls to gauss() may see different
results now.

Bugfix candidate (random.gauss() has always been broken in this way),
despite that it may change results.
Lib/random.py