[Python-3000] Equality of range objects
Georg Brandl
g.brandl at gmx.net
Wed Apr 9 09:35:16 CEST 2008
Anand Balachandran Pillai schrieb:
> Still this seems like a bad thing to break backward compatibility with.
> However I cannot really provide a use-case apart from what Benjamin
> has said -> Teaching. It is not a common use-case to equate ranges
> in code and that is bad coding anyway.
>
> Hopefully, this will be well documented at 3.0 release. Currently
> that "whats new" page does not mention anything about the range
> type and how it breaks backward compatibility.
It says "xrange() renamed to range()". While this is everything one'd
need to know, I agree that it could use a clarifying sentence, so I
added one now.
Georg
More information about the Python-3000
mailing list