Message30822
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 |
|
Date |
User |
Action |
Args |
2007-08-23 14:50:44 | admin | link | issue1617161 messages |
2007-08-23 14:50:44 | admin | create | |
|