New submission from Sven Marnach <s...@marnach.net>:

It seems some sort of consensus on how to compare range objects has emerged 
from the python-ideas discussion on comparison of range objects [1].

The attached patch defines '==' and '!=' for range object equality based on the 
sequence of values they represent.  The other comparison operators are left 
NotImplemented.

[1]: http://mail.python.org/pipermail/python-ideas/2011-October/012376.html

----------
files: range-compare
messages: 145705
nosy: smarnach
priority: normal
severity: normal
status: open
title: Implement comparison operators for range objects
Added file: http://bugs.python.org/file23426/range-compare

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13201>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to