On Jan 15, 9:23 am, Jeroen Demeyer <[email protected]> wrote: > Whether every range() should be changed to xrange(): I can't comment on > that.
In Python 3, range() will return an iterator, which is the current behavior of xrange(). I'm not sure about the fate of xrange() in Python 3. See for example: http://stackoverflow.com/questions/135041/should-you-always-favor-xrange-over-range Rob -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
