Guido van Rossum 358473c1a2 Andrew Kuchling writes:
First, the RNG in whrandom.py sucks if you let it seed itself from the time.
The problem is the line:
			t = int((t&0xffffff) | (t>>24))
Since it ORs the two parts together, the resulting value has mostly
ON bits.  Change | to ^, and you don't lose any randomness.
1998-02-16 14:52:42 +00:00
..
1997-12-31 00:11:03 +00:00
1996-08-08 18:24:58 +00:00
1996-08-08 18:24:58 +00:00
1996-08-16 18:14:41 +00:00
1998-02-13 16:35:21 +00:00
1994-03-07 11:45:36 +00:00
1996-01-25 18:26:57 +00:00
1997-09-29 23:22:12 +00:00
1993-10-22 14:24:22 +00:00
1994-10-09 22:34:40 +00:00
1994-10-09 22:34:40 +00:00
1998-01-14 15:40:30 +00:00
1992-03-31 18:55:40 +00:00
1992-12-14 12:57:56 +00:00
1996-05-28 22:58:40 +00:00
1992-01-01 19:35:13 +00:00
1995-01-27 02:41:45 +00:00
1997-10-24 14:46:16 +00:00
1996-09-11 19:43:52 +00:00
1998-01-27 19:29:45 +00:00
1996-05-28 23:18:55 +00:00
1997-10-23 17:50:10 +00:00
1997-09-09 20:44:04 +00:00
1997-05-21 14:59:17 +00:00
1997-10-20 23:16:58 +00:00
1997-09-29 23:22:12 +00:00
1997-09-29 23:22:12 +00:00
1994-10-20 22:02:03 +00:00
1997-10-08 15:23:02 +00:00
1998-01-19 04:01:26 +00:00
1997-10-24 14:46:16 +00:00
1991-08-16 13:28:11 +00:00
1997-10-06 14:45:17 +00:00
1998-01-12 18:57:53 +00:00
1997-10-22 20:56:32 +00:00
1997-12-11 21:41:13 +00:00
1998-01-29 17:26:45 +00:00
1997-12-29 19:57:36 +00:00
1997-12-29 19:57:36 +00:00
1996-08-20 20:40:07 +00:00
1997-10-22 20:54:50 +00:00
1997-09-29 23:22:12 +00:00
1997-09-29 23:22:12 +00:00
1994-03-07 11:45:36 +00:00
1996-05-28 22:56:16 +00:00
1991-04-21 19:34:48 +00:00
1996-08-20 20:40:07 +00:00
1998-02-16 14:52:42 +00:00
1998-01-29 14:55:24 +00:00
1992-01-01 19:35:13 +00:00