Message217727
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? |
|
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 | |
|