Unit tests and random.Random()

Tim Peters tim.one at home.com
Fri Jan 11 05:02:41 CET 2002

> ...
> Is there an official position on how code should be written to guarantee
> that it gets a WH generator[1]?

No, not even a guarantee that there always *will* be a way to get a WH
generator.  It's mounds better than the C library's rand(), but falls
increasingly behind the reasonable state of the art.

> And where should I have looked to find this answer for myself?

You had already figured that out yourself, so I'd say you looked in the
right places.

More information about the Python-list mailing list