Message217729
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. |
|
| Date |
User |
Action |
Args |
| 2014-05-01 21:41:43 | benjamin.peterson | set | recipients:
+ benjamin.peterson, exarkun, josh.r |
| 2014-05-01 21:41:43 | benjamin.peterson | set | messageid: <1398980503.8.0.786359844925.issue21408@psf.upfronthosting.co.za> |
| 2014-05-01 21:41:43 | benjamin.peterson | link | issue21408 messages |
| 2014-05-01 21:41:43 | benjamin.peterson | create | |
|