[pypy-svn] pypy default: Fix on 64-bits.

arigo commits-noreply at bitbucket.org
Sun Mar 13 12:58:45 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r42556:ea3243c39b7b
Date: 2011-03-13 07:58 -0400
http://bitbucket.org/pypy/pypy/changeset/ea3243c39b7b/

Log:	Fix on 64-bits.

diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -25,7 +25,7 @@
 str_dummy   = make_dummy('foo', 'bar')
 bool_dummy  = make_dummy(True, False)
 unicode_dummy = make_dummy(u'abc', u'cde')
-bigint_dummy = make_dummy(rbigint([0]), rbigint([1]))
+bigint_dummy = make_dummy(rbigint.fromint(0), rbigint.fromint(1))
 
 class FakeObjSpace(ObjSpace):
     w_None           = W_Object()


More information about the Pypy-commit mailing list