[New-bugs-announce] [issue1165] Should itertools.count work for arbitrary integers?

Eduardo Padoan report at bugs.python.org
Sat Sep 15 17:19:47 CEST 2007


New submission from Eduardo Padoan:

Currently, itertools.count.__next__ checks wether the current value is >
PY_SSIZE_T_MAX and raises OverflowError if so. Shouldn't the value be
stored as "long", at least in Py3k? Not that I have any use case for it,
so it is minor.

----------
components: Library (Lib)
messages: 55927
nosy: eopadoan
severity: minor
status: open
title: Should itertools.count work for arbitrary integers?
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1165>
__________________________________


More information about the New-bugs-announce mailing list