Author benjamin.peterson
Recipients benjamin.peterson, exarkun, josh.r
Date 2014-05-01.21:41:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398980503.8.0.786359844925.issue21408@psf.upfronthosting.co.za>
In-reply-to
Content
The reason ``object() != Foo()`` "works" is that Foo is a subtype of object(), so the specialized __ne__ of Foo is called immediately without trying object.__ne__.

I don't know whether it's a bug.
History
Date User Action Args
2014-05-01 21:41:43benjamin.petersonsetrecipients: + benjamin.peterson, exarkun, josh.r
2014-05-01 21:41:43benjamin.petersonsetmessageid: <1398980503.8.0.786359844925.issue21408@psf.upfronthosting.co.za>
2014-05-01 21:41:43benjamin.petersonlinkissue21408 messages
2014-05-01 21:41:43benjamin.petersoncreate