Nick Coghlan added the comment:

Bound methods are created dynamically on lookup, while object ids may be reused 
after the original object is destroyed.

There's no bug here - just a combination of those two language behaviours that 
is frequently surprising to users that have just noticed it.

There's not a lot we can do about that - it's a genuinely surprising moment in 
people's understanding of the way methods (and descriptors in general) work.

----------
nosy: +ncoghlan
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15773>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to