
March 26, 2009
9:19 p.m.
Just out of curiosity, would doing l = range(2082) random.shuffle(l) random.shuffle(l) give me (with a high probability) one of those permutations that is unreachable with a single shuffle? If so, I'd presume you could get any shuffle (in case you really cared) by calling random.shuffle repeatedly and reseeding the prng in between.