Message80645
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? |
|
| Date |
User |
Action |
Args |
| 2009-01-27 11:14:22 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, ezio.melotti, konryd |
| 2009-01-27 11:14:22 | mark.dickinson | set | messageid: <[email protected]> |
| 2009-01-27 11:14:15 | mark.dickinson | link | issue5048 messages |
| 2009-01-27 11:14:14 | mark.dickinson | create | |
|