Steven D'Aprano added the comment:
ID numbers in Python are only guaranteed to be unique for the lifespan of the
object. In CPython they can be re-used. (In other implementations, like Jython
and IronPython, IDs are allocated as sequential numbers and won't be reused.)
The other fact you
New submission from Marcelo Alves :
Different instances should have different bound method ids, since they have
different memory addresses, isn’t it? Example:
I have a class and two instances:
class MyClass:
def something():
pass
a = MyClass()
b = MyClass()