[pypy-commit] pypy remove-remaining-smm: Fix.
Manuel Jacob
noreply at buildbot.pypy.org
Mon Feb 24 21:56:03 CET 2014
Author: Manuel Jacob
Branch: remove-remaining-smm
Changeset: r69363:d9a4f6186d70
Date: 2014-02-24 21:24 +0100
http://bitbucket.org/pypy/pypy/changeset/d9a4f6186d70/
Log: Fix.
diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py
--- a/pypy/objspace/std/floatobject.py
+++ b/pypy/objspace/std/floatobject.py
@@ -113,7 +113,8 @@
res = op(f1, f2)
return space.newbool(res)
if space.isinstance_w(w_other, space.w_long):
- return space.newbool(do_compare_bigint(self.floatval, w_other.num))
+ return space.newbool(do_compare_bigint(self.floatval,
+ space.bigint_w(w_other)))
return space.w_NotImplemented
return func_with_new_name(_compare, 'descr_' + opname)
More information about the pypy-commit
mailing list