On 4/28/2011 9:12 PM, josef.pktd at gmail.com wrote: > I didn't find any iterator that would give unique values It's true that itertools.permutations is based on index permutations, but when the number of permuations is not huge, it is pretty cheap to form a set or a Counter. fwiw, Alan