[issue1981] operator "is"

Georg Brandl report at bugs.python.org
Thu Jan 31 17:19:04 CET 2008


Georg Brandl added the comment:

Yes, it is expected since the descriptor access to methods creates a new
bound method object every time. The "is" operator does not work special
with methods.

There is another issue about documenting this, so closing as a duplicate.

----------
nosy: +georg.brandl
resolution:  -> duplicate
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1981>
__________________________________


More information about the Python-bugs-list mailing list