Of course, I've noticed that whrandom is deprecated. "Use random
instead". Fine.
Except that, reading the documentation (5.6 random - Generate pseudo-
random numbers), it doesn't appear that random.Random is promising me a
W-H generator, but instead just some unspecified instance of the class
used under the covers by random (which, by fortuitous coincidence,
happens to be a WH implementation, today, but it could change in the
future).
Is there an official position on how code should be written to guarantee
that it gets a WH generator[1]? And where should I have looked to find
this answer for myself?
Danil
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.