eryksun added the comment:

Function equality is based on identity, as inherited from object. But there's a 
precedent for this idea in method_richcompare, which compares the method's 
__func__ and __self__: 

http://hg.python.org/cpython/file/04f714765c13/Objects/classobject.c#l208

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21130>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to