On Tue, Sep 27, 2011 at 11:44 AM, Raymond Hettinger
<raymond.hettin...@gmail.com> wrote:
..
> In the math module, we used an f prefix to differentiate math.fsum() from the 
> built-in sum() function.  That suggests frange() as a possible name for a 
> variant of range() that creates floats.
>
> That works reasonably well if the default argument pattern is the same as 
> range:   frange(10.0, 20.0, 0.5)

+1 on adding frange() to math module or to the recently contemplated
stats module.   For something that aspires to becoming a builtin one
day, I would like to see something not focused on floats exclusively
and something with a proper English name.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to