[Python-checkins] python/dist/src/Misc NEWS,1.831.4.12,1.831.4.13

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat Aug 9 12:20:18 EDT 2003


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

Modified Files:
      Tag: release23-maint
	NEWS 
Log Message:
SF bug #778964:  bad seed in python 2.3 random

The default seed is time.time().
Multiplied by 256 before truncating so that fractional seconds are used.
This way, two consequetive calls to random.seed() are much more likely
to produce different sequences.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.831.4.12
retrieving revision 1.831.4.13
diff -C2 -d -r1.831.4.12 -r1.831.4.13
*** NEWS	9 Aug 2003 09:53:51 -0000	1.831.4.12
--- NEWS	9 Aug 2003 18:20:16 -0000	1.831.4.13
***************
*** 28,31 ****
--- 28,34 ----
  -------
  
+ - Bug #778964:  random.seed() now uses fractional seconds so that
+   rapid successive, seeding calls will produce different sequences.
+ 
  - Bug #777664: Add Tkconstants.HIDDEN.
  





More information about the Python-checkins mailing list