Author smarnach
Recipients smarnach
Date 2011-10-17.14:52:52
SpamBayes Score 1.2844e-05
Marked as misclassified No
Message-id <1318863174.33.0.432669073084.issue13201@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-10-17 14:52:54smarnachsetrecipients: + smarnach
2011-10-17 14:52:54smarnachsetmessageid: <1318863174.33.0.432669073084.issue13201@psf.upfronthosting.co.za>
2011-10-17 14:52:53smarnachlinkissue13201 messages
2011-10-17 14:52:53smarnachcreate