[issue19145] Inconsistent behaviour in itertools.repeat when using negative times
Vajrasky Kok
report at bugs.python.org
Fri Jan 24 11:21:51 CET 2014
Vajrasky Kok added the comment:
def repeat(object, times=-1): => it could break the code in the wild.
Current behaviour: repeat(object) -> unlimited, repeat(object, -1) -> 0 repetitions.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19145>
_______________________________________
More information about the Python-bugs-list
mailing list