enumerate overflow

koara koara at atlas.cz
Wed Oct 3 15:52:53 EDT 2007


On Oct 3, 7:22 pm, Raymond Hettinger <pyt... at rcn.com> wrote:
> In Py2.6, I will mostly likely put in an automatic promotion to long
> for both enumerate() and count().  It took a while to figure-out how
> to do this without killing the performance for normal cases (ones used
> in real programs, not examples contrived to say, "omg, see what
> *could* happen").
>
> Raymond


Thanks everybody for the reply and suggestions, I'm glad to see the
issues's already been discovered/discussed/almostresolved.

By the way, I do not consider my programs in any way 'unreal'.




More information about the Python-list mailing list