Xah Lee wrote: > on a related topic, > I think it would be a improvement for the built-in range() so that step > needs not be an integer.
There are easy workarounds but I'd find it useful as well. > Further, it'd be better to support decreasing range. e.g. > > Range( 5, 7, 0.3); # returns [5, 5.3, 5.6, 5.9, 6.2, 6.5, 6.8] > Range( 5, -4, -2); # returns [5,3,1,-1,-3] The last one already works: >>> range(5,-4,-2) [5, 3, 1, -1, -3] -- http://mail.python.org/mailman/listinfo/python-list