[issue19145] Inconsistent behaviour in itertools.repeat when using negative times
Raymond Hettinger
report at bugs.python.org
Wed Oct 2 21:43:33 CEST 2013
Raymond Hettinger added the comment:
The preferred behavior is that a negative number always means 0.
That is what lists do:
>>> [1] * (-5)
[]
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19145>
_______________________________________
More information about the Python-bugs-list
mailing list