
Oct. 14, 2011
8:43 p.m.
On Fri, Oct 14, 2011 at 1:10 PM, Ethan Furman <ethan@stoneleaf.us> wrote:
A range is a sequence -- why should identical sequences not compare equal?
There's no such convention anywhere in Python. (1, 2) != [1, 2]. collections/abc.py does not define __eq__ for sequences. Have you personally written code that compares ranges? -- --Guido van Rossum (python.org/~guido)