summaryrefslogtreecommitdiff
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-05-05 20:40:00 +0000
committerTim Peters <tim.peters@gmail.com>2002-05-05 20:40:00 +0000
commit46c04e140cf26d1b44935c28c6f15ea467400d22 (patch)
tree1b3adac92e00f74e196857c7289bce4f06929704 /Misc/NEWS
parent2b41b0d6a70330153952477baec47ec8c2efdc18 (diff)
downloadcpython-git-46c04e140cf26d1b44935c28c6f15ea467400d22.tar.gz
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2fb6a831e0..803287e9e9 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -104,6 +104,13 @@ Extension modules
Library
+- 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.
+
- The pickle.Pickler class grew a clear_memo() method to mimic that
provided by cPickle.Pickler.