Gabriel Genellina wrote: > En Sun, 30 Sep 2007 16:16:30 -0300, <[EMAIL PROTECTED]> escribi�: > >>> From my POV, if I want sequence from here to there, it should include >> both here and there. >> >> I do understand the consequences of making high bound exclusive, which >> is more elegant code: xrange(len(c)). But it does seem a bit >> illogical... > > See this note from E.W.Dijkstra in 1982 where he says that the Python > convention is the best choice. > http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html >
The only thing I agreed with was his conclusion. Clever man. [david] -- http://mail.python.org/mailman/listinfo/python-list