[Python-checkins] python/dist/src/Misc NEWS,1.401,1.402

tim_one@sourceforge.net tim_one@sourceforge.net
Sun, 05 May 2002 13:40:02 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv14885/python/Misc

Modified Files:
	NEWS 
Log Message:
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.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.401
retrieving revision 1.402
diff -C2 -d -r1.401 -r1.402
*** NEWS	2 May 2002 21:28:26 -0000	1.401
--- NEWS	5 May 2002 20:40:00 -0000	1.402
***************
*** 105,108 ****
--- 105,115 ----
  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.