<mgorny>
but tbh i have no clue how their magic is supposed to work
<mgorny>
apparently they're doing <some bound method> != AnyThing, and expecting AnyThing.__ne__ to be called, or sth like that
<cfbolz>
interesting
<nimaje>
hm, iirc AnyThing.__ne__ should get called if <some bound method>.__ne__(AnyThing) returns NotImplemented, but no idea if cpython promises anything about the behaviour of these comparision functions for bound methods
<cfbolz>
I did some interpreter speedup work in this general area, it's entirely believable I changed a weird corner case in the process