Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Well, I'm not sure. One could also argue that 1 and 1.0 mustn't compare equal because they cannot be used equally in all circumstances (e.g. __index__), they have different repr's, different types, etc.
The question is: what kind of use case does it help to have them compare unequal? I can see the utility of having them compare equal: to check whether a method has been overriden or not. (I'm removing 2.4 and 2.5 anyway since the change would break compatibility) ---------- nosy: +pitrou versions: +Python 3.0 -Python 2.4, Python 2.5 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com