Thoughts on PEP284
Andrew Koenig
ark at acm.org
Fri Sep 26 13:43:11 EDT 2003
Stephen> I doubt the need for exclusive ranges in integer for loops. I
Stephen> also doubt the need for switching between different range
Stephen> systems (inclusive, exclusive, half-open). IMO there is more
Stephen> confusion than anything down those routes.
Really? I would expect a common usage to be:
for 0 <= index < len(list):
do something with list[index]
--
Andrew Koenig, ark at acm.org
More information about the Python-list
mailing list