Message217727
| Author |
josh.r |
| Recipients |
benjamin.peterson, exarkun, josh.r |
| Date |
2014年05月01日.21:18:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1398979081.51.0.692137001257.issue21408@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Why would an subclass of object that doesn't redefine either __eq__ or __ne__ have a different behavior for inequality than object itself? Bar never defined __eq__, so it shouldn't have an implicit __ne__ any more than object itself does...
Saying that Bar has an implicit __ne__ that object doesn't is answering how this happens, but it's not a why; is there a reason why this should be the case, or is this a bug (either in spec or in code) that should be fixed? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年05月01日 21:18:01 | josh.r | set | recipients:
+ josh.r, exarkun, benjamin.peterson |
| 2014年05月01日 21:18:01 | josh.r | set | messageid: <1398979081.51.0.692137001257.issue21408@psf.upfronthosting.co.za> |
| 2014年05月01日 21:18:01 | josh.r | link | issue21408 messages |
| 2014年05月01日 21:18:01 | josh.r | create |
|