[Python-Dev] range objects in 3.x

Ethan Furman ethan at stoneleaf.us
Fri Sep 23 20:25:35 CEST 2011


Guido van Rossum wrote:
> Also, Ethan, I hope you're familiar with the reason why there is no
> range() support for floats currently? (Briefly, things like range(0.0,
> 0.8, step=0.1) could include or exclude the end point depending on
> rounding, which makes for troublesome semantics.)

Good point, thanks for the reminder.

~Ethan~


More information about the Python-Dev mailing list