Abe Leite added the comment:
Thank you for the explanation. I looked up the documentation for descriptors
and I understand better now. I appreciate it!
-Abe
--
___
Python tracker
<https://bugs.python.org/issue36
Abe Leite added the comment:
Hi Inada-san,
Could you explain (or send me a link to) what happens when an instance method
is accessed and why this should be different from what happens when an unbound
method is accessed?
The `is` keyword has been very useful for me in introspection cases
New submission from Abe Leite :
The following code produces unexpected behavior in all versions of Python I
have tested.
>>> class a:
... def method(self): pass
>>> inst = a()
>>> inst.method is inst.method
False
It appears that id(inst.method) changes each t