On Sun, Jan 26, 2014 at 11:21 PM, Vajrasky Kok <sky....@speaklikeaking.com>wrote:
> What about this alternative? Makes -1 consistently mean unlimited > repetition and other negative numbers consistently mean zero > repetitions > -1 I think this idea was already rejected on the bug tracker. It will be very surprising if list(repeat(x, n)) would be different from [x] * n for integer n.
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com