[issue2603] Make range __eq__ work

Benjamin Peterson report at bugs.python.org
Sat Apr 26 00:41:01 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

On Fri, Apr 25, 2008 at 5:38 PM, Guido van Rossum
<report at bugs.python.org> wrote:
>
>  Guido van Rossum <guido at python.org> added the comment:
>  The two go hand-in-hand; you shouldn't have two range() objects that
>  compare equal and yet have different stop attribute values.

If it makes any difference, the attributes aren't even available through Python.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2603>
__________________________________


More information about the Python-bugs-list mailing list