whrandom seed question

Fredrik Lundh fredrik at pythonware.com
Fri Dec 17 03:36:17 EST 1999


Preston Landers <prestonlanders at my-deja.com> wrote:
> According to Beazley's "Essential Python Reference" (I haven't checked
> the 'official' docs) if the three parameters given to whrandom.seed()
> are equal, then *the current time* is used as the seed.  Presumably, the
> clock is ticking in between your .seed() statements below.

the source says:

  if 0 == x == y == z:

so no matter what the official docs say, the
code looks for three zeros.

</F>





More information about the Python-list mailing list