[pypy-commit] pypy py3k: Same here.
Manuel Jacob
noreply at buildbot.pypy.org
Fri Feb 22 01:26:25 CET 2013
Author: Manuel Jacob
Branch: py3k
Changeset: r61574:a20722978155
Date: 2013-02-22 01:25 +0100
http://bitbucket.org/pypy/pypy/changeset/a20722978155/
Log: Same here.
diff --git a/lib-python/3.2/fractions.py b/lib-python/3.2/fractions.py
--- a/lib-python/3.2/fractions.py
+++ b/lib-python/3.2/fractions.py
@@ -547,7 +547,7 @@
else:
hash_ = abs(self._numerator) * dinv % _PyHASH_MODULUS
result = hash_ if self >= 0 else -hash_
- return -2 if result == -1 else result
+ return result
def __eq__(a, b):
"""a == b"""
More information about the pypy-commit
mailing list