[New-bugs-announce] [issue13201] Implement comparison operators for range objects
report at bugs.python.org
Mon Oct 17 16:52:54 CEST 2011
New submission from Sven Marnach <sven at 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 .
The attached patch defines '==' and '!=' for range object equality based on the sequence of values they represent. The other comparison operators are left NotImplemented.
title: Implement comparison operators for range objects
Added file: http://bugs.python.org/file23426/range-compare
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce