[Python-Dev] Negative times behaviour in itertools.repeat for Python maintenance releases (2.7, 3.3 and maybe 3.4)

Serhiy Storchaka storchaka at gmail.com
Sun Jan 26 19:43:00 CET 2014

26.01.14 19:00, Vajrasky Kok написав(ла):
> So I hope my argument is convincing enough. We need to fix this bug in
> Python 2.7, 3.3, and 3.4, by making `times` argument sent via
> positional or keyword in itertools.repeat ALWAYS means the same thing,
> which is 0 repetitions.
> If this is not possible, at the very least, we need to warn this
> behaviour in the doc.

I agree with Vajrasky. This is obvious bug and it should be fixed in any 

More information about the Python-Dev mailing list