Message30822
| 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:44 | admin | link | issue1617161 messages |
| 2007年08月23日 14:50:44 | admin | create |
|