[Python-ideas] Float range class

Andrew Barnert abarnert at yahoo.com
Mon Jan 12 23:44:12 CET 2015

On Jan 10, 2015, at 13:48, Ethan Furman <ethan at stoneleaf.us> wrote:

> On 01/10/2015 11:50 AM, Guido van Rossum wrote:
>> I suppose the briefest of recipes could go in the range() docs, in a section "what do do for floats". More extended
>> recipes should probably go on the activestate recipes site.
> The range docs do seem to be the obvious place for range recipes.

I've created issue #23226, with a patch (the whole thing fits into one paragraph and a short example, so I didn't think a subsection was necessary, but that can easily be changed), and a link to a new ActiveState recipe ( that contains the same simple class that turns the NumPy algorithm into a lazy sequence.

More information about the Python-ideas mailing list