Guido van Rossum <[EMAIL PROTECTED]> added the comment: On Fri, Apr 25, 2008 at 3:36 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > Benjamin Peterson <[EMAIL PROTECTED]> added the comment: > > Thanks for the help. > > Yes, after thinking for a while, I decided that range equality should > represent the set of integers and not the values in the constructor. > Normalization would be a good idea, but I think that's another issue > I'll tackle after this.
The two go hand-in-hand; you shouldn't have two range() objects that compare equal and yet have different stop attribute values. > Now you get an error for hashing a huge range. > > Added file: http://bugs.python.org/file10110/range_eq8.patch > > > > __________________________________ > Tracker <[EMAIL PROTECTED]> > <http://bugs.python.org/issue2603> > __________________________________ > __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2603> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com