This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fniessink
Recipients
Date 2006-12-16.21:36:32
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Python 2.5 was changed so that instance methods compare equal when their im_self attributes compare equal. Here's a link to that change: http://svn.python.org/view?rev=46739&view=rev

This is a problem if we want to distinguish between methods of instances that compare equal, for example when methods can be registered as callbacks (see attached example).

It seems unlogical to me that whether or not the instance methods of two different instances are equal or not depends on the equality of the instance.

Thanks, Frank
History
Date User Action Args
2007-08-23 14:50:44adminlinkissue1617161 messages
2007-08-23 14:50:44admincreate