
March 25, 2009
2:06 a.m.
"Greg" == Greg Ewing <greg.ewing@canterbury.ac.nz> writes: Greg> *All* shuffling algorithms are limited by that.
Greg> Think about it: A shuffling algorithm is a function from a random Greg> number to a permutation. There's no way you can get more permutations Greg> out than there are random numbers to put in. Hi Greg Maybe we should put a note to that effect in random.shuffle.__doc__ :-) http://mail.python.org/pipermail/python-dev/2006-June/065815.html Regards, Terry