def _shuffled(seq):
fixed_random = random.Random()<EOL>if six.PY2:  <EOL><INDENT>fixed_random.seed(FIXED_RANDOM_SEED)<EOL><DEDENT>else:  <EOL><INDENT>fixed_random.seed(FIXED_RANDOM_SEED, version=<NUM_LIT:1>)<EOL><DEDENT>seq = list(seq)<EOL>random.shuffle(seq, random=fixed_random.random)<EOL>return seq<EOL>
Deterministically shuffle identically under both py2 + py3.