mcneel/rhinopython — pull request #89 by gwinsky (2012-05-01 10:57:01+00:00)
Title: frange to not include stop value

reducing the stop value by the smallest amount possible.
while this is still a hack it seem to make sure that the frange function never contains the stop value, like the standard library range function.

see also :
http://python.rhino3d.com/threads/133-For-Loop-with-a-Floating-point-Range-other-options/page2
numpy.linspace might be even better...