Is the behavior expected?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu Nov 27 04:11:36 EST 2008


Michele Simionato wrote:

> Guido and the Common Lisp implementors are happy with mutating the loop
> index. I myself prefer the functional way.

I'd agree with you, except Python doesn't provide any way to create user-defined constants, so constant loop indices have no precedent.



More information about the Python-list mailing list