Bugs item #1617161, was opened at 2006-12-16 22:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1617161&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Frank Niessink (fniessink)
Assigned to: Nobody/Anonymous (nobody)
Summary: Instance methods compare equal when their self's are equal 

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1617161&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to