[Python-Dev] range objects in 3.x

Xavier Morel catch-all at masklinn.net
Fri Sep 23 22:04:11 CEST 2011


On 2011-09-23, at 20:23 , 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.)
On the other hand, there could be a range for Decimal could there not?


More information about the Python-Dev mailing list