[issue36175] Identity of bound methods

Inada Naoki report at bugs.python.org
Sun Mar 3 22:22:43 EST 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

It is a designed behavior.

I agree that it looks strange to some users who don't know implementation.
And that's why people should not use `is` normally, except some use cases (e.g. `is None`.)

----------
nosy: +inada.naoki
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list