[Python-ideas] Extremely weird itertools.permutations

Serhiy Storchaka storchaka at gmail.com
Fri Oct 11 21:29:35 CEST 2013


11.10.13 21:38, Neil Girdhar написав(ла):
> Should we consider fixing itertools.permutations and to output only
> unique permutations (if possible, although I realize that would break
> code). It is completely non-obvious to have permutations returning
> duplicates. For a non-breaking compromise what about adding a flag?

I think this should be separated function.




More information about the Python-ideas mailing list