Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2019-06-08.23:55:34.895>created_at=<Date2019-06-06.16:30:28.309>labels= ['3.8', 'library', '3.9']
title='One argument form of math.perm()'updated_at=<Date2019-06-08.23:55:34.895>user='https://github.com/rhettinger'
I never seen a one argument form of P(n, k) in mathematics. itertools.permutations() corresponds two functions: math.perm() and math .factorial(). Unless you a going to add a new function in the itertools module equal to a one argument form of itertools.permutations() there will be no full symmetry.
It's possible the word permutations means something different to you than it does to me. The itertools.permutations() function is only one function, one that includes the default option to generate all permutations. It does the same as permute(n, r) and permute(n) in Maple; and the same as Permutations[list, n] and Permutations[list] in Mathematica. For the math module, perm(n) is just a common special case that means all possible arrangements.