[Python-Dev] Overflow on enumerate() and itertools.count()

Guido van Rossum guido at python.org
Mon Oct 29 01:58:51 CET 2007


2007/10/28, Raymond Hettinger <python at rcn.com>:
> For Py2.6, I fixed a long standing irritant where the count raised an OverflowError when it reached LONG_MAX.
>
> If you guys agree that is a bug fix, I'll backport it to Py2.5.

Smells like a feature to me.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list