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 ezio.melotti, konryd, mark.dickinson, rhettinger
Date 2009-01-27.11:14:14
SpamBayes Score 0.00014536573
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
combinations_with_replacement addition looks good.  Thank you.

I wonder whether the second argument should be constrained to be an
integer? I find the following a little surprising:

>>> list(combinations_with_replacement(range(5), -0.3))
[()]

(same behaviour with combinations and permutations).  Should I open a
separate issue for this, or is it just not worth changing?
History
Date User Action Args
2009-01-27 11:14:22mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, ezio.melotti, konryd
2009-01-27 11:14:22mark.dickinsonsetmessageid: <[email protected]>
2009-01-27 11:14:15mark.dickinsonlinkissue5048 messages
2009-01-27 11:14:14mark.dickinsoncreate