[Python-ideas] About adding a new iteratormethodcalled "shuffled"

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Mar 28 00:46:57 CET 2009


Jacob Holm wrote:
> Each time I reseed from a truly random source,

If you have a "truly random source" on hand, then
you have an infinite amount of entropy available
and there is no problem. Just feed your truly
random numbers straight into the shuffling
algorithm.

We're talking about the case where you *don't*
have truly random numbers, but only a PRNG with a
limited amount of internal state.

-- 
Greg



More information about the Python-ideas mailing list