[Python-ideas] Extremely weird itertools.permutations
MRAB
python at mrabarnett.plus.com
Fri Oct 11 23:25:56 CEST 2013
On 11/10/2013 20:29, Serhiy Storchaka wrote:
> 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.
>
+1
More information about the Python-ideas
mailing list