Message89532
| Author |
terry.reedy |
| Recipients |
georg.brandl, medwards, terry.reedy |
| Date |
2009年06月19日.23:06:12 |
| SpamBayes Score |
0.001628498 |
| Marked as misclassified |
No |
| Message-id |
<1245452774.4.0.346718159967.issue4395@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The current paragraph
"There are no implied relationships among the comparison operators. The
truth of x==y does not imply that x!=y is false. Accordingly, when
defining __eq__(), one should also define __ne__() so that the operators
will behave as expected. "
is false.
Please, let us replace it now, for 3.1 release, with the correct
"There is one implied relationship among comparison operators: defining
__eq__ gives an automatic __ne__ (but not the other way). There is no
similar relationship for the order comparisons."
without waiting for a more extensive rewrite. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年06月19日 23:06:14 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, medwards |
| 2009年06月19日 23:06:14 | terry.reedy | set | messageid: <1245452774.4.0.346718159967.issue4395@psf.upfronthosting.co.za> |
| 2009年06月19日 23:06:12 | terry.reedy | link | issue4395 messages |
| 2009年06月19日 23:06:12 | terry.reedy | create |
|