This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients LambertDW, TFinley, mark.dickinson, rhettinger
Date 2009-01-07.21:16:29
SpamBayes Score 1.32553e-06
Marked as misclassified No
Message-id <>
Got Sage working again.  It also returns an empty list for r > n.  For r 
negative, Combinations returns an empty list and Permutation gives an 

sage: Combinations(range(4), 6)
Combinations of [0, 1, 2, 3] of length 6
sage: Combinations(range(4), 6).list()
sage: Permutations(range(4), 6).list()
sage: Combinations(range(4), -1).list()
sage: Permutations(range(4), -1).list()
IndexError                                Traceback (most recent call last)
[... traceback snipped ...]
Date User Action Args
2009-01-07 21:16:32mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, LambertDW, TFinley
2009-01-07 21:16:32mark.dickinsonsetmessageid: <>
2009-01-07 21:16:31mark.dickinsonlinkissue4816 messages
2009-01-07 21:16:30mark.dickinsoncreate