Dumb python questions
skip at pobox.com
Thu Aug 16 06:07:30 CEST 2001
Paul> Xrange is apparently a primitive type, which sounds like a big
Paul> kludge. Maybe in Python 2.2 they can make it into an iterator.
Paul> That would be the right way to deal with this problem.
Problem there is that there are some semantics to xrange in that "dark
corner corner over there where the naughty boys play" that would disappear
if xrange was turned into an iterator. See:
It will happen...
Skip Montanaro (skip at pobox.com)
More information about the Python-list