[issue33925] builtin_function_or_method compares __self__ by identity instead of equality

Jeroen Demeyer report at bugs.python.org
Thu Jun 21 07:21:24 EDT 2018


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> This is a duplicate of issue1617161.

Well, it's really the opposite. That issue seems to be arguing that __self__ should be compared using "is" while I think it should be compared using "==".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33925>
_______________________________________


More information about the Python-bugs-list mailing list