[Python-ideas] Float range class

Alexander Belopolsky alexander.belopolsky at gmail.com
Sat Jan 10 08:43:06 CET 2015


> On Jan 10, 2015, at 12:13 AM, Guido van Rossum <guido at python.org> wrote:
> 
> Oh, and the name is odd-sounding for someone not from your world.

The name actually came from MATLAB [1] where the signature and the definition actually make more sense.  (Note that MATLAB uses 1-based indexing and closed interval slicing, though.)

I always thought that "grid" would be a better name. 

[1] http://www.mathworks.com/help/matlab/ref/linspace.html



More information about the Python-ideas mailing list