adam olsen kjbnfagmailcom mon mar 10 2008 426 armin rigo wrote hi phillip sun mar 09 2008 070512pm 0400 phillip j eby wrote however need equality bound methods based object value equality value identity least recently anyway one library wants equalitybased comparison im_self ended writing code tests current python interpreter necessary implements special method type purposes working around absence im_self equality testing however pretty specialized case found exactly case pretty specialized example wanted bound methods use im_self equality rather identity solved writing boundmethodlike object thats really hard general tendency matches opinion seems using im_self identity less surprizing general xappend interchangeable xappend even xappend xappend lets go least surprizing behavior m1im_self m2im_self m1im_funcm2im_func objection 1 adam olsen aka rhamphoryncus _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom tue 05 aug 2008 231748 0700 pythondev equality method objects