Message145705
| Author |
smarnach |
| Recipients |
smarnach |
| Date |
2011年10月17日.14:52:52 |
| SpamBayes Score |
1.2843983e-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:54 | smarnach | set | recipients:
+ smarnach |
| 2011年10月17日 14:52:54 | smarnach | set | messageid: <1318863174.33.0.432669073084.issue13201@psf.upfronthosting.co.za> |
| 2011年10月17日 14:52:53 | smarnach | link | issue13201 messages |
| 2011年10月17日 14:52:53 | smarnach | create |
|