A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-September/113730.html below:

[Python-Dev] range objects in 3.x

[Python-Dev] range objects in 3.x [Python-Dev] range objects in 3.xGreg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 28 13:06:34 CEST 2011
Ethan Furman wrote:

> Well, actually, I'd be using it with dates.  ;)

Seems to me that one size isn't going to fit all.

Maybe we really want two functions:

    interpolate(start, end, count)
        Requires a type supporting addition and division,
        designed to work predictably and accurately with
        floats

    extrapolate(start, step, end)
        Works for any type supporting addition, not
        recommended for floats

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4