[pypy-svn] r58749 - pypy/branch/2.5-merge/pypy/interpreter
fijal at codespeak.net
fijal at codespeak.net
Tue Oct 7 15:29:18 CEST 2008
Author: fijal
Date: Tue Oct 7 15:29:17 2008
New Revision: 58749
Modified:
pypy/branch/2.5-merge/pypy/interpreter/function.py
Log:
(fijal, arigo) Be a bit saner about comparisons of bound methods (2.5 compatible)
Modified: pypy/branch/2.5-merge/pypy/interpreter/function.py
==============================================================================
--- pypy/branch/2.5-merge/pypy/interpreter/function.py (original)
+++ pypy/branch/2.5-merge/pypy/interpreter/function.py Tue Oct 7 15:29:17 2008
@@ -438,7 +438,7 @@
else:
if other.w_instance is None:
return space.w_False
- if not space.is_w(self.w_instance, other.w_instance):
+ if not space.eq_w(self.w_instance, other.w_instance):
return space.w_False
return space.eq(self.w_function, other.w_function)
More information about the Pypy-commit
mailing list