Author rhettinger
Recipients TFinley, mark.dickinson, rhettinger
Date 2009-01-05.09:54:00
SpamBayes Score 0.149667
Marked as misclassified No
Message-id <1231149241.78.0.639597907807.issue4816@psf.upfronthosting.co.za>
In-reply-to
Content
Quick notes so I don't forget:

The two main pure python equivalents in the docs would need to be
updated with the new special cases (currently they raise IndexError for
r>n).  The other two pure python equivalents would automatically handle
the proposed new cases.

The Mathematica definition of permutations does not discuss or allow for
the r>n case, http://mathworld.wolfram.com/Permutation.html .  One of
the other tools that actually lists permutations and takes a second
argument (most do not) is in Mathematica,
http://reference.wolfram.com/mathematica/ref/Permutations.html .  It is
unclear from their docs whether the r>n case is supported as a
zero-length output or as an error condition.
History
Date User Action Args
2009-01-05 09:54:02rhettingersetrecipients: + rhettinger, mark.dickinson, TFinley
2009-01-05 09:54:01rhettingersetmessageid: <1231149241.78.0.639597907807.issue4816@psf.upfronthosting.co.za>
2009-01-05 09:54:01rhettingerlinkissue4816 messages
2009-01-05 09:54:00rhettingercreate